SCM Manager 2.20.0 log file full of CRON / scheduler related messages

9 views
Skip to first unread message

5usc2...@liamekaens.com

unread,
Jul 27, 2021, 1:07:48 AMJul 27
to scmma...@googlegroups.com
Dear SCM Manager team,

I have a perplexing problem -- my scm-manager.log file is full of messages like the ones below ; unfortunately this is filling up the tmpfs mount I have for logs (which are usually sent via rsyslog to remote log server). Is there anything I can do to reduce or elimiate these messages? Based on the time stamps it looks like two messages every 30 seconds.

2021-07-25 04:07:00.688 [CronScheduler-1-1] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:07:00.822 [CronScheduler-1-2] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:07:30.688 [CronScheduler-1-1] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:07:30.822 [CronScheduler-1-2] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:08:00.688 [CronScheduler-1-1] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:08:00.822 [CronScheduler-1-2] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:08:30.688 [CronScheduler-1-1] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:08:30.822 [CronScheduler-1-2] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:09:00.688 [CronScheduler-1-1] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:09:00.822 [CronScheduler-1-2] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:09:30.688 [CronScheduler-1-1] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context
2021-07-25 04:09:30.822 [CronScheduler-1-2] [ ] INFO sonia.scm.web.security.DefaultAdministrationContext - execute action sonia.scm.schedule.PrivilegedRunnableFactory$$Lambda$445/0x00000008007be440 in administration context

Sebastian Sdorra

unread,
Jul 29, 2021, 8:17:05 AMJul 29
to scmmanager
Hi,
We have decreased to the log level of that class to avoid those messages with the default log configuration:

https://github.com/scm-manager/scm-manager/commit/f52b32234d50c9d42e3c9a45f313cc29e04214ea

The change will be shipped with the upcoming release 2.22.0.
 
However you can change the logging of SCM-Manager as you like, please have a look at the documentation:

https://www.scm-manager.org/docs/latest/en/administration/logging/

You could even configure the logging to send the logs directly to your syslog server:

http://logback.qos.ch/manual/appenders.html#SyslogAppender

Sebastian



Reply all
Reply to author
Forward
0 new messages