WAPT Logrotate Modification
Published: January 4, 2017 - 9:25 AM
Hello TISman and TISwoman,
We appreciate the use of logrotate in the wapt server, however, there is a modification to be made.
In the wapt-server logrotate file (https://github.com/tranquilit/WAPT/blob ... -logrotate), line 7 should be changed:
`/etc/init.d/waptserver restart > /dev/null`
to
`/etc/init.d/waptserver restart &> /dev/null`.
Otherwise, we get a CRON email with the restart output:
`/etc/cron.daily/logrotate:
[uWSGI] getting INI configuration from /opt/wapt/conf/waptserver.ini`.
This could be unnecessary logging.
If necessary, I'm happy to submit a pull request, and you can merge it.
See you soon.
We appreciate the use of logrotate in the wapt server, however, there is a modification to be made.
In the wapt-server logrotate file (https://github.com/tranquilit/WAPT/blob ... -logrotate), line 7 should be changed:
`/etc/init.d/waptserver restart > /dev/null`
to
`/etc/init.d/waptserver restart &> /dev/null`.
Otherwise, we get a CRON email with the restart output:
`/etc/cron.daily/logrotate:
[uWSGI] getting INI configuration from /opt/wapt/conf/waptserver.ini`.
This could be unnecessary logging.
If necessary, I'm happy to submit a pull request, and you can merge it.
See you soon.