~ev/uci-engine/tarmac-test

Viewing all changes in revision 606.

  • Committer: Ubuntu CI Bot
  • Author(s): Andy Doan
  • Date: 2014-06-24 15:04:14 UTC
  • mfrom: (600.1.3 lander-logging)
  • Revision ID: ubuntu_ci_bot-20140624150414-anki0tuy41ngoblc
[r=PS Jenkins bot, Evan Dandrea] lander charm: fix logging

i/s confirmed logging for this componet should go to:

 /srv/ci-airline-lander/logs

This required a few changes:

1) change the "service_dir" to use dashes and not underscores
This made a new upstart service name. This broke that json_status cgi
script *again*. So I tried to change this in a way that it can be
updated in the future without breakage.

2) update the "lander logs" location
We were logging results from processing tickets under "logs". I chaged
this to "lander-logs" so it won't collide with our upstart logs.

3) make the charm / upstart script smarter
This gets us logging in the correct place, but it also lets the upstart
job ensure the proper directories exist before the job is launched. This
makes things safer in the event someone deletes the logs directory and
restarts the service
  from Andy Doan

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: