From deaf54f2d71128ba91f35ec1a438b4ce7766fe91 Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Mon, 25 Aug 2014 12:31:18 -0400 Subject: [PATCH] Migrating logs to /var/log/tower/. --- .gitignore | 1 + awx/settings/production.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c61b0d9786..0af931fd9d 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ awx/ui/static/js/local_config.js awx/ui/static/css/awx.min.css awx/main/fixtures awx/tower_warnings.log +tower/tower_warnings.log celerybeat-schedule # Python & setuptools diff --git a/awx/settings/production.py b/awx/settings/production.py index e53ba5e703..9ded1f47ca 100644 --- a/awx/settings/production.py +++ b/awx/settings/production.py @@ -48,7 +48,7 @@ LOGGING['handlers']['rotating_file'] = { 'level': 'WARNING', 'class':'logging.handlers.RotatingFileHandler', 'filters': ['require_debug_false'], - 'filename': '/var/log/awx/tower_warnings.log', + 'filename': '/var/log/tower/tower_warnings.log', 'maxBytes': 1024*1024*5, # 5 MB 'backupCount': 5, 'formatter':'simple',