-
Committer:
Christopher Glass
-
Date:
2017-03-23 13:19:26 UTC
-
mfrom:
(228.1.2 fix-logging)
-
Revision ID:
christopher.glass@canonical.com-20170323131926-nc4lt8q42n49ykde
Fix the logging situation and should enable charm deployment without having to go fix things like permissions in the units.
Specifically:
- The www-sync user was given a shell (so that cron can run the python script appropriately).
- The log file should be created and chowned appropriately at install time.
- A logrotate profile was created for the new log file.
- Python logging is used instead of hacking around with print and redirection.
[a=tribaal] [r=rcj, Odd_Bloke, fginther]