/srv/irclogs.ubuntu.com/2013/09/10/#upstart.txt

iancoHello all. Does upstart handle/support logrotate currently?14:37
iancoIm seeing differing things around the webs14:37
jodhianco: if you are referring to whether upstart handles logrotate running in /var/log/upstart/, the answer is yes.14:40
iancowithout a service restart?14:40
iancoand is there any docs I can check out about it?14:41
iancomy searching is leading me nowhere fast :|14:41
jodhianco: now I am confused. Please can you re-phrase the question?14:41
iancoIm just looking for more info on this statement I found14:44
ianco"Its default logging, for example, does not support log rotation and is only compatible with logrotate if you use the copytruncate hack"14:44
iancoany truth to that?14:44
jodhianco: upstart will detect that logrotate has moved the file. Take a look at /etc/logrotate.d/upstart to see how logroate is configured to rotate upstart logs on a default ubuntu system.14:46
jodhianco: the behaviour of the upstart logger is documented in init(5) ('console' stanza in the "Process environment" section).14:48
iancothanks :) is this new behavior or has upstart always handled logrotate and moved log files ?14:48
jodhianco: I don't know where you are getting this other information. Best to stick with the reference material we provide where possible. The logging has always worked liked that since logging was introduced (upstart 1.4) see  - http://upstart.ubuntu.com/cookbook/#stanzas-by-category.14:52
iancojodh, thanks, I appreciate your help15:07
ianco:)15:07
iancodont believe everything you read, i guess :P15:07

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!