How to turn off notification in log - server connection is closed caused by function xmlrpcCloseServer()

Find and share HowTos to various installations / configurations!
6 posts • Page 1 of 1
vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

How to turn off notification in log - server connection is closed caused by function xmlrpcCloseServer()

Post by vedadramovic »

Hello,
Is there a way to disable logging of function xmlrpcCloseServer() ?
It writes Server connection is closed every time it is called.

Best regards,
Vedad Ramovic

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to turn off notification in log - server connection is closed caused by function xmlrpcCloseServer()

Post by leoknipp »

Hello,

can you please copy an example for the log message to this thread.
Are you maybe using the function throwError() in your script. This function would write a log-entry when it is called.

Best Regards
Leopold Knipp
Senior Support Specialist

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: How to turn off notification in log - server connection is closed caused by function xmlrpcCloseServer()

Post by vedadramovic »

Hello Leopold,
We are using WinCCOA V3.12 P022
Please find bellow example of this log entry

WCCOActrl (109), 2016.03.31 11:13:52.905, SYS, INFO, 0, , Server servID31376 closed connection
WCCOActrl (109), 2016.03.31 11:13:52.950, SYS, INFO, 0, , Server servID27225 closed connection
WCCOActrl (109), 2016.03.31 11:13:52.996, SYS, INFO, 0, , Server servID98 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.040, SYS, INFO, 0, , Server servID19070 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.093, SYS, INFO, 0, , Server servID18689 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.137, SYS, INFO, 0, , Server servID32417 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.183, SYS, INFO, 0, , Server servID4050 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.228, SYS, INFO, 0, , Server servID6976 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.296, SYS, INFO, 0, , Server servID26571 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.340, SYS, INFO, 0, , Server servID15057 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.386, SYS, INFO, 0, , Server servID22854 closed connection
WCCOActrl (109), 2016.03.31 11:13:53.430, SYS, INFO, 0, , Server servID5149 closed connection
WCCOActrl (109), 2016.03.31 11:13:54.466, SYS, INFO, 0, , Server servID22251 closed connection

There is no throwError() function in this script.

Best regards,
Vedad Ramovic

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: How to turn off notification in log - server connection is closed caused by function xmlrpcCloseServer()

Post by vedadramovic »

Hello,
is there any way do disable this "server connection is closed" notification?
Our logs are full of those notifications.

We use WinCCOA version 3.14 Patch4
It seems that this topic is forgotten.

Regards,
Vedad

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: How to turn off notification in log - server connection is closed caused by function xmlrpcCloseServer()

Post by Gertjan van Schijndel »

This error message occurs when the peer closes the connection.
By calling 'xmlrpcCloseServer' before the peer closes the connection should prevent this error message.

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: How to turn off notification in log - server connection is closed caused by function xmlrpcCloseServer()

Post by vedadramovic »

Thank you Gertjan,
I made changes on server side, so it is keeping connection alive.

6 posts • Page 1 of 1