[Bug 328881] Re: init: support logging of job output

Ankur Oberoi 328881 at bugs.launchpad.net
Tue Dec 27 08:13:15 UTC 2011


console log seems broken for me, here is some info...

using the following file saved as /etc/init/web-proxy.conf:

   description "web-proxy"
   author      "Ankur Oberoi"
   
   start on (local-filesystems and net-device-up IFACE=eth0)
   stop on shutdown
   
   console log
   exec /usr/local/bin/node /srv/proxy/server.js

This file fails to show up when I run `sudo initctl reload-configuration
| grep web` but if I comment out the console line, it does show up and
moreover it works correctly.

I compiled from the source tarball for 1.4 on Oneiric 11.10 on x86_64.
If there is any more helpful info I can provide, please let me know. I'd
really like the console log feature!

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/328881

Title:
  init: support logging of job output

Status in Upstart:
  Fix Released
Status in “upstart” package in Ubuntu:
  Fix Committed

Bug description:
  console logged is listed as a valid stanza in upstart 0.5.0 under the
  Stanzas page in the wiki, but it doesn't function.

  The jobfile is:

  # START JOB
  console logged
  # END JOB

  Output from /var/log/messages:
  Feb 12 18:11:32 comet-k5-12 <1234462292,332230>init: /etc/init/jobs.d/foo+:1: Unknown stanza

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/328881/+subscriptions




More information about the foundations-bugs mailing list