diff --git a/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/logrotate.d/pscheduler-server b/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/logrotate.d/pscheduler-server index abfc1c1e3c..3b6c18d27b 100644 --- a/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/logrotate.d/pscheduler-server +++ b/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/logrotate.d/pscheduler-server @@ -6,7 +6,6 @@ compress delaycompress missingok - create 644 pscheduler pscheduler sharedscripts postrotate invoke-rc.d rsyslog restart > /dev/null diff --git a/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/rsyslog.d/pscheduler-server.conf b/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/rsyslog.d/pscheduler-server.conf index 658ad5a382..8a78ebd65d 100644 --- a/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/rsyslog.d/pscheduler-server.conf +++ b/pscheduler-server/pscheduler-server/unibuild-packaging/deb/logging/rsyslog.d/pscheduler-server.conf @@ -1,4 +1,6 @@ # Syslog configuration for pScheduler +$FileCreateMode 0644 local4.* /var/log/pscheduler/pscheduler.log & stop +