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
After updating perfsonar from 5.0.7 to 5.1.3, psconfig-pscheduler-*.log and psconfig-grafana-*.log file are not rotated.
Log rotation settings (maxBytes and backupCount) are defined in pscheduler-agent-logger.conf and grafana-agent-logger.conf under /etc/perfsonar/psconfig/.
However, the python logging module does not read this configuration.
[handler_fileRotateTransaction]
class=handlers.RotatingFileHandler
level=DEBUG
formatter=patternLayout
maxBytes=16777216 <= not read by logging module
backupCount=7 <= not read by logging module
args=('/var/log/perfsonar/psconfig-pscheduler-agent-transactions.log', 'a')
After defining maxBytes and backupCount parameters to args(), log rotation was started.
After updating perfsonar from 5.0.7 to 5.1.3,
psconfig-pscheduler-*.log
andpsconfig-grafana-*.log
file are not rotated.Log rotation settings (maxBytes and backupCount) are defined in pscheduler-agent-logger.conf and grafana-agent-logger.conf under /etc/perfsonar/psconfig/.
However, the python logging module does not read this configuration.
After defining maxBytes and backupCount parameters to args(), log rotation was started.
The text was updated successfully, but these errors were encountered: