Currently, to support logrotation, inotify watches an arbitrary flag file; it should be possible to handle this by watching the... logfiles themselves.
This will, of course, be a bit tricky, as we need to get the logfile locations from nginx config directly.
Currently, to support logrotation,
inotifywatches an arbitrary flag file; it should be possible to handle this by watching the... logfiles themselves.This will, of course, be a bit tricky, as we need to get the logfile locations from nginx config directly.