CMDBuild Forum

Webservice calls fills logs

I'm getting hundreds - even over 2000 messages (>20000 lines) like these in cmdbuild-2.5.0.log

INFO  2018-02-19 06:00:10 [cmdbuild] trying to login user cron with group null
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
WARN  2018-02-19 06:00:10 [cmdbuild] cannot apply filter, user is not guest
INFO  2018-02-19 06:00:10 [cmdbuild] trying to login user cron with group null
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
INFO  2018-02-19 06:00:10 [cmdbuild] getting all-in-one 'interface org.cmdbuild.services.event.Observer'
etc...

At exactly same time as the above login attempt is done, in localhost_access log I can find matching calls:

127.0.0.1 - - [19/Feb/2018:06:00:10 +0200] "POST /cmdbuild/services/soap/Webservices HTTP/1.1" 200 1203
127.0.0.1 - - [19/Feb/2018:06:00:10 +0200] "POST /cmdbuild/services/soap/Webservices HTTP/1.1" 200 1084
127.0.0.1 - - [19/Feb/2018:06:00:10 +0200] "POST /cmdbuild/services/soap/Webservices HTTP/1.1" 200 252178
127.0.0.1 - - [19/Feb/2018:06:00:11 +0200] "POST /cmdbuild/services/soap/Webservices HTTP/1.1" 200 2303031
127.0.0.1 - - [19/Feb/2018:06:00:12 +0200] "POST /cmdbuild/services/soap/Webservices HTTP/1.1" 200 1099

What could be the reason? Basically it seems that the application works ok.

User cron belongs to SuperUser group only and SuperUser is also defualt group for it. How can I assign a group in webservice? What are the other lines trying to tell me?

 

 

hi,

 
the 'Observer' log messages are just part of normal cmdbuild operations. Unfortunately the logger is a little too much 'verbose' on this, if you want you can set the log level to WARN for the whole 'cmdbuild' log category in order to limit log messages (a better fine-tuning of log messages will be implemented in the next major cmdbuild release).
 
The access_log messages may be generated by shark calling cmdbuild, this also is normal cmdbuild operation. Return code is 200 OK so everything should be ok there.
 
Regards
CMDBuild Team