We currently use pserve with the "console" log handler [1]. This console output should be redirected to /var/log/upstart/foo.log but it isn't after the log is rotated. We are logging every second (see example log statement[2]) but the logging stops after I force a logrotation with "logrotate -v -f /etc/logrotate.d/upstart". Even with the logrotate directive "create" no new logs are written.
[1] http://docs.pylonsproject.org/docs/pyramid/en/latest/narr/logging.html
[2] [pid: 3378209|app: 0|req: 4/4] 10.35.20.2 () {28 vars in 344 bytes} [Thu Mar 12 20:58:30 2015] GET /nc/v1/nodes => generated 4174 bytes in 6 msecs (HTTP/1.0 200) 2 headers in 88 bytes (1 switches on core 3)
I'm seeing this issue as well.
We currently use pserve with the "console" log handler [1]. This console output should be redirected to /var/log/ upstart/ foo.log but it isn't after the log is rotated. We are logging every second (see example log statement[2]) but the logging stops after I force a logrotation with "logrotate -v -f /etc/logrotate. d/upstart" . Even with the logrotate directive "create" no new logs are written.
[1] http:// docs.pylonsproj ect.org/ docs/pyramid/ en/latest/ narr/logging. html
[2] [pid: 3378209|app: 0|req: 4/4] 10.35.20.2 () {28 vars in 344 bytes} [Thu Mar 12 20:58:30 2015] GET /nc/v1/nodes => generated 4174 bytes in 6 msecs (HTTP/1.0 200) 2 headers in 88 bytes (1 switches on core 3)