=== JanC is now known as Guest45177 | ||
=== JanC_ is now known as JanC | ||
majuscule | How can I redirect stdout/err to a logfile using start on filesystem exec ? | 18:05 |
---|---|---|
majuscule | looks like i can just add normal >/var/log 2>&1 to the exerc | 18:14 |
majuscule | exec | 18:14 |
AnrDaemon | majuscule: Don't do that crap. | 18:35 |
AnrDaemon | Use "console log". | 18:35 |
majuscule | hmm, the docs on that are a little unclear. console log --logdir /var/log/ ? and then what does it name the file | 18:44 |
AnrDaemon | In Ubuntu, it's /var/log/upstart/$JOB${INSTANCE+-$INSTANCE}.log | 18:59 |
AnrDaemon | And system's logrotate already set to wrap them around. | 18:59 |
majuscule | gotcha, thanks AnrDaemon | 19:14 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!