Your service must support dates and dates ... The logs that appear in the logs under /var/log/upstart/ are the output of your upstart script.
You can also add a preliminary start and preliminary stop to your conf file to print the time before the service starts and the time after the service stops:
pre-start script echo "[`date`] <YOUR SERVICE NAME> Starting" >> /var/log/<YOUR SERVICE NAME>.log end script pre-stop script echo "[`date`] <YOUR SERVICE NAME> Stopping" >> /var/log/<YOUR SERVICE NAME>.log end script
Boris Bakshiyev
source share