Overview
The console & event logs are generated on certain events while Intermediary functions. The log files increase in size as messages are logged to them and you may want to define rotation policies for the files.
Information
In Linux, the console log files are timestamped in the file name (console-YYYYMMDD_HHMMSS_XXX.log) and the timestamps are generated every time Intermediary is started. So there will be a console log for every session as Intermediary is started. No rotation is configured for console logging as the size of the console logs does not go over 1MB if no custom logging is configured for the console log output. This is applicable for console logs of both, Intermediary & Management Server.
Whereas the event log gets rollover based on the log file size which can be set ...
- ... for the Management Server: Visit Platform > Event Log (direct URL http://host:4040/lgserver/admin/logging/eventcfg.do).
- ... for the Intermediary: Logging can be set up on a per-instance level by either visiting More > Event Log > Configure Logging (direct URL http://host:4400/sst/admin/logging/eventcfg.do) OR in the Network profile.
By default, event log rollover is set at a size of 10MB and a retention period of 7 days. Since the configuration is done through UI, its behaviour doesn't depend on the OS of the instance. Additionally, the logging parameters configurable above can also be changed by configuring the log4j parameters on disk.