You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When dsc is installed on the same instance as omi, the logrotate throws duplication errors due to the use of wildcards in the logrotate.conf file.
omi:2 duplicate log entry for /var/opt/omi/log/dscdetailed.log
found error in file omi, skipping
/etc/opt/omi/conf/omilogrotate.conf
/var/opt/omi/log/*.log /var/opt/omi/log/*.trc
{
# keep 5 worth of backlogs
rotate 5
# If the log file is missing, go on to the next one
# without issuing an error message.
missingok
# Do not rotate the log if it is empty,
# this overrides the ifempty option.
notifempty
# Old versions of log files are compressed with gzip by default.
compress
# Log files are rotated only if they grow bigger then 100M.
size 100M
# Truncate the original log file in place after creating a copy,
# instead of moving the old log file and optionally creating a new one.
copytruncate
}
When dsc is installed on the same instance as omi, the logrotate throws duplication errors due to the use of wildcards in the logrotate.conf file.
omi:2 duplicate log entry for /var/opt/omi/log/dscdetailed.log
found error in file omi, skipping
/etc/opt/omi/conf/omilogrotate.conf
/opt/microsoft/dsc/etc/logrotate.conf
The text was updated successfully, but these errors were encountered: