Migrating logs to /var/log/tower/.

This commit is contained in:
Luke Sneeringer 2014-08-25 12:31:18 -04:00
parent 55323fac57
commit deaf54f2d7
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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',