/srv/irclogs.ubuntu.com/2014/04/16/#upstart.txt

CADBOTHi08:05
=== JanC_ is now known as JanC
jonafanhow do you save the logs for an upstart service forever20:18
jonafanevery time i search for this i get some dumb nodejs crap20:18
dstokesyou just trying to save the output of your service to a log? (not sure what you mean by 'forever')21:48
dstokesjonafan: ping21:49
jonafanyes21:50
dstokesuse io redir? `exec some_process > /var/log/output.log 2>&1`21:51
dstokeswhoops, should probably use >> instead to append21:52
jonafanokay that'll work21:52
jonafan>>s for both, right?21:53
jonafanthis is a very exciting day for me now21:56
jonafani restarted the process and the pid it ended up with is 133721:56
dstokesjonafan: `exec some_proc >> /var/log/output.log 2>&1`21:57
jonafanaw man, there goes 133721:58
dstokesredirects stderr to stdout and stdout to file21:58

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