Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

upstart logging output enabled

Except doing explicit logging instructions like suggested in http://upstart.ubuntu.com/wiki/Debugging, is there a way to enable output of what is happening with upstart?

  • What event is raised
  • What service changed its status (started/stopped/dead)
  • What signal were emmited
  • what output a service produced while starting
like image 685
samb Avatar asked Dec 02 '10 13:12

samb


1 Answers

Ok, I've found one way to get it :

$ sudo initctl log-priority        # gives the actual (default) logging level $ sudo initctl log-priority --help # gives available logging levels $ sudo initctl log-priority info # is enough to get : $ tail -f /var/log/syslog        # - log of upstart events $ tail -f /var/log/boot.log      # - log of services output 
like image 88
samb Avatar answered Sep 23 '22 13:09

samb