Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

trying to monitor the boot process by listening to all the events in test.conf as well want to add time stamp information to the emitted event.

From cookbook, tried recording the events as follows but still it doesn't work. Note:using 0.3.11 version of upstart.

start on (startup or starting or started or stopping )

script 
exec 1>>/tmp/test.log echo "Job=$UPSTART_JOB process:$UPSTART_JOB_PROCESS" 
end script

Issue is 1)when i have combined events like above for start on, my script doesnt seems to be running at all,, where as if i keep only one event e.g start on starting, it seems to be recording the event, is there anything wrong in the syntax, does it work this way in 0.3.11 version of upstart?

2)how do I record the job which gets executed when certain event was emitted with time stamp?

Note: how can i do this without having added --verbose or --debug parameters.

share|improve this question
    
I got the first issue working, in 0.3.11 start on stanza works as follows start on startup start on starting –  Shilpa Jabin Jul 30 '13 at 12:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.