Nicholas Adams

Disabling the built-in Logswitch on R80 SMS at midnight?

Discussion created by Nicholas Adams on May 10, 2017
Latest reply on Jun 28, 2017 by Nicholas Adams

As the subject references, I've seen in a customer's deployment on a Smart-1 R80 appliance and in my own freshly configured VM the same seemingly un-sourced logswitch happening every night at 00:00, even when there's an explicitly configured automatic logswitch configured for the SMS object in SmartConsole for a daily logswitch at 23:59. Does anyone have any insight to this mysterious extra logswitch, and how to disable it from happening if possible? My initial thought was that this was a placeholder logswitch  that would stop once the database was installed with the 23:59 switch (an explicitly configred automatic logswitch) , but we're now seeing both logswitches happen, even on my freshly-built VM where this is literally the only configuration I've done in SmartConsole, or on the WebUI. (besides the First Time Config Wizard)

 

For reference, here's the applicable output from ls -lah:

 

 

-rw-r--r-- 1 admin       config  42K May  9 00:00 2017-05-09_000000.log

(ignoring adtlogs etc...)

-rw-rw---- 1 admin       root    18K May  9 13:35 2017-05-09_133506.log (When 23:59 logswitch was configured)

(ignoring adtlogs etc...)

-rw-rw---- 1 admin       root    19K May  9 23:59 2017-05-09_235900.log

(ignoring adtlogs etc...)

-rw-rw---- 1 admin       root   8.3K May 10 00:00 2017-05-10_000000.log

 

We saw this pattern repeat on my customer's SMS for several days, but I didn't hang on to the output. suffice to say this pattern continues, where the configured logswitch happens at 23:59 and then a comparatively tiny log is created when the mystery logswitch occurs again at 00:00.

 

Again, any insight or assistance into why this happens and how to control/disable it would be greatly appreciated.

Outcomes