client_stats table missing in log server ...

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

client_stats table missing in log server ...

Postby jcarlos » Fri Sep 07, 2012 2:38 am

Hi there,

I get this error message from Servoy Server 6.1.0.:

client_stats table missing in log server, cannot save client statistics.

Capture.GIF


How can I fix this? 

Also, I'd like to learn about what this client_stats table is about and how I could use it... Any advice? 

Best, Carlos
jcarlos
 
Posts: 578
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Re: client_stats table missing in log server ...

Postby jcarlos » Fri Sep 07, 2012 5:04 pm

Is this client_stats table that is missing from log server the one that in Servoy 5.x was named servoy_client_stats?

How critical is this warning/error message? Any advice will be appreciated.

Thanks!
Carlos
Juan-Carlos Sanchez, Stanford University - Law and Economics
jcarlos
 
Posts: 578
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Re: client_stats table missing in log server ...

Postby Mark Crichton » Thu Sep 20, 2012 2:20 am

Hi folks

Curios there has been no response to Carlos' posts

I am getting the same error on a new 6.1.2 application server install. I cannot find any reference anywhere as to how this database\table should be set up. Can't find it in developer or anywhere.

Is this a setting somewhere to switch on or off?

Could not find any reference in the manual either.

Need to get this resolved urgently. Can anybody help to get the database, table and field definitions, or point me to some documentation.

Thanks Mark

MArk
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: client_stats table missing in log server ...

Postby Mark Crichton » Thu Sep 20, 2012 2:25 am

Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: client_stats table missing in log server ...

Postby Mark Crichton » Tue Apr 09, 2013 11:25 pm

Hi
Servoy 6.1.4 on Windows
I am again having this problem, and have checked in the Application server and Database Servers and there is no checkbox for logging as showing in the help guide image.
I want to switch logging off, and cannot find how to do this.

Thanks
MArk
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: client_stats table missing in log server ...

Postby jcarlos » Wed Apr 10, 2013 6:42 am

Mark Crichton wrote:Hi
Servoy 6.1.4 on Windows
I am again having this problem, and have checked in the Application server and Database Servers and there is no checkbox for logging as showing in the help guide image.
I want to switch logging off, and cannot find how to do this.

Thanks
MArk


This sounds to me like a bug. If I were you I'd report this as a bug.
jcarlos
 
Posts: 578
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Re: client_stats table missing in log server ...

Postby lvostinar » Wed Apr 10, 2013 10:38 am

There was already a case on it: https://support.servoy.com/browse/SVY-3888 . "client_stats" table is now automatically created in log server. It is the replacement for "servoy_client_stats" from repository server and contains data about client connection. If you don't have a log server defined you will get this error. If you don't need the client connection logging, you can disable it with setting: servoy.log.clientstats=false (that was added in 6.1.4).
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: client_stats table missing in log server ...

Postby Mark Crichton » Fri Apr 12, 2013 4:05 am

Hi Laurian

where do I find the place to make the change "servoy.log.clientstats=false " as you suggest? I could not find it in the Servoy-admin screens.
Thanks MArk
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: client_stats table missing in log server ...

Postby lvostinar » Fri Apr 12, 2013 8:08 am

Mark Crichton wrote:Hi Laurian

where do I find the place to make the change "servoy.log.clientstats=false " as you suggest? I could not find it in the Servoy-admin screens.
Thanks MArk


"servoy.log.clientstats" is in Admin Settings section of admin page. It was added in Servoy 6.1.4 so maybe you use an earlier version ?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: client_stats table missing in log server ...

Postby Mark Crichton » Fri Apr 12, 2013 6:33 pm

Thanks Laurian
Finally found it.
Mark Crichton
DataWise Ltd - New Zealand
http://www.datawise.co.nz
User avatar
Mark Crichton
 
Posts: 109
Joined: Mon Jan 24, 2011 10:01 am
Location: Auckland, New Zealand

Re: client_stats table missing in log server ...

Postby stefanoni » Wed Sep 04, 2013 11:55 am

In Version 7.2.0 -releaseNumber 2013
I don't see any option like describet in
http://wiki.servoy.com/display/public/DOCS/Implementing+Audit+Logging

"Logserver", Create Logtabel
Printscreen.jpg
Printscreen.jpg (66.93 KiB) Viewed 8880 times


Is there something new/depreciated ?
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland

Re: client_stats table missing in log server ...

Postby stefanoni » Wed Sep 04, 2013 12:12 pm

The Wick describes
"Servoy provides the ability to log any data change or data read in a table in Servoy."
what means "data change " in the database ?

But the info-button talks about
allow logging of client connections....
Printscreen1.jpg
Printscreen1.jpg (55.17 KiB) Viewed 8879 times

what means "something about the time of connections" ?

Does the Wicki and the Info-Button mean the same ?
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland

Re: client_stats table missing in log server ...

Postby rgansevles » Wed Sep 04, 2013 5:23 pm

Alessandro,

The wiki page talks about logging data changes made by the clients, this is in the log server in a table named log.

The client_stats table is a different table, also placed in the log server, that logs for (un)registering of clients.
Servoy wants to create this table in the log server, when that fails (usually because there is no log-server defined), this message is printed.

On the admin page to change the log server, select one in the 'Database Servers' page.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: client_stats table missing in log server ...

Postby stefanoni » Thu Sep 05, 2013 12:37 pm

thank you rob, I understand, there are two different types of logs.

Question 1:
Is it possible to log the "client_stats" without logging the "data changes" ? I only
see the choice of "client_stats" on/off, but nowhere "logging data changes" on/off.

Question 2:
How to create the log-table, after selecting a database (like your suggestion) in the
'Database Servers' Page ?

I selected, restarted the server, after this I watched the database with pgadmin3
but no log-file added)

Question 3:
Does this link to the wicki 7.x point to a depreciated description, how to creat
the log-table ?
http://wiki.servoy.com/display/public/DOCS/Implementing+Audit+Logging
(see the red arrow point to something witch is not existing in 7.2 ) ?

I understand, that the wicki at this point is talking about logging the 'data changes',
but it talks also about how to create the log table in the log server.

Question 4:
What does this button mean "Update" ? Update the structure, create it ?
Printscreen2.jpg
Printscreen2.jpg (25.17 KiB) Viewed 8844 times


Alessandro
Alessandro Stefanoni ---- gigdoodle.ch ---- stefanoni.ch ----
Stefanoni Informatik Gmbh, CH-8200 Schaffhausen
Switzerland
stefanoni
 
Posts: 313
Joined: Fri Jul 23, 2010 3:17 pm
Location: Switzerland


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 7 guests

cron