StorMan uses its proprietary StorMan Logging facility in /var/opt/SMAWstor/StorMan/log/
for diagnostic purpose.
The setting of all logging parameters is done by WebUI or CLI storparam
and is kept in the inititalization file smserver.ini
.
Parameter MaxTraceFileSize
StorMan supports a maximum file size in MB for logging files.
The parameter TraceFileMaxAge
defines the number of days that the log files are kept.
The default value when running is TraceFileSize = 100
(means 100 MB).
Example:
TraceFileSize = 100
means 100 days
The effect of the parameter:
All log-files are zipped if the specified file size is reached or latest at date change.
Parameter TraceFileMaxAge
StorMan supports a maximal retention time for logging files.
The parameter TraceFileMaxAge
defines the number of days that the log files are kept.
The default value when running is TraceFileMaxAge = 90
(means 90 days).
Example:
TraceFileMaxAge = 7
means 7 days
The effect of the parameter:
All log-files and zip-files with content older than the number of days specified by
TraceFileMaxAge
are removed (i.e. all files starting withstormanTrace*
).