← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~pelpsi/launchpad:librarian-debug-logs into launchpad:master

 

Simone Pelosi has proposed merging ~pelpsi/launchpad:librarian-debug-logs into launchpad:master.

Commit message:
Switch log level from INFO to DEBUG

Using the DEBUG level we are able to see LaunchpadCronScript logs
that are logging the cronscript activity time and other useful info.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~pelpsi/launchpad/+git/launchpad/+merge/481726
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~pelpsi/launchpad:librarian-debug-logs into launchpad:master.
diff --git a/charm/launchpad-librarian/templates/crontab.j2 b/charm/launchpad-librarian/templates/crontab.j2
index c12e7b0..e169d2b 100644
--- a/charm/launchpad-librarian/templates/crontab.j2
+++ b/charm/launchpad-librarian/templates/crontab.j2
@@ -8,7 +8,7 @@ LPCONFIG=launchpad-librarian1
 
 # Garbage collector.  Ensure it doesn't run during a backup, or clash with a
 # fastdowntime.
-15 10 * * * {{ code_dir }}/cronscripts/librarian-gc.py -q --log-file=INFO:{{ logs_dir }}/librarian-gc.log
+15 10 * * * {{ code_dir }}/cronscripts/librarian-gc.py -q --log-file=DEBUG:{{ logs_dir }}/librarian-gc.log
 
 {% endif -%}
 {% if os_password and not upstream_host -%}