Skip to content

Instantly share code, notes, and snippets.

@hodgestar
Created September 11, 2015 14:44
Show Gist options
  • Save hodgestar/701db3e0251c6f7faa54 to your computer and use it in GitHub Desktop.
Save hodgestar/701db3e0251c6f7faa54 to your computer and use it in GitHub Desktop.
Fix logging names.
diff --git a/docker-vms/vumi_metrics/config/supervisor/vumi_metrics.conf b/docker-vms/vumi_metrics/config/supervisor/vumi_metrics.conf
index 5404742..24e1017 100644
--- a/docker-vms/vumi_metrics/config/supervisor/vumi_metrics.conf
+++ b/docker-vms/vumi_metrics/config/supervisor/vumi_metrics.conf
@@ -15,8 +15,8 @@ stderr_logfile_maxbytes=10MB
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile_backups=10
-stderr_logfile=/app/graphite_metrics_collector.err
-stdout_logfile=/app/graphite_metrics_collector.log
+stderr_logfile=/app/logs/graphite_metrics_collector.err
+stdout_logfile=/app/logs/graphite_metrics_collector.log
[program:metric_time_buckets]
command=twistd -n --pidfile=metric-time-buckets-%(process_num)s.pid \
@@ -36,8 +36,8 @@ stderr_logfile_maxbytes=10MB
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile_backups=10
-stderr_logfile=/app/metric_time_buckets_%(process_num)s.err
-stdout_logfile=/app/metric_time_buckets_%(process_num)s.log
+stderr_logfile=/app/logs/metric_time_buckets_%(process_num)s.err
+stdout_logfile=/app/logs/metric_time_buckets_%(process_num)s.log
[program:metric_aggregator]
command=twistd -n --pidfile=metric-aggregator-%(process_num)s.pid \
@@ -57,8 +57,8 @@ stderr_logfile_maxbytes=10MB
stdout_logfile_maxbytes=10MB
stdout_logfile_backups=10
stderr_logfile_backups=10
-stderr_logfile=/app/metric_time_buckets_%(process_num)s.err
-stdout_logfile=/app/metric_time_buckets_%(process_num)s.log
+stderr_logfile=/app/logs/metric_aggregator_%(process_num)s.err
+stdout_logfile=/app/logs/metric_aggregator_%(process_num)s.log
[group:vumi_metrics]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment