mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 06:28:01 -03:30
Add missing fact receiver logfile in production settings
This commit is contained in:
parent
59f4844e02
commit
4d84a603ad
@ -85,6 +85,16 @@ LOGGING['handlers']['task_system'] = {
|
||||
'formatter':'simple',
|
||||
}
|
||||
|
||||
LOGGING['handlers']['fact_receiver'] = {
|
||||
'level': 'WARNING',
|
||||
'class':'logging.handlers.RotatingFileHandler',
|
||||
'filters': ['require_debug_false'],
|
||||
'filename': '/var/log/tower/fact_receiver.log',
|
||||
'maxBytes': 1024 * 1024 * 5, # 5 MB
|
||||
'backupCount': 5,
|
||||
'formatter':'simple',
|
||||
}
|
||||
|
||||
# Load settings from any .py files in the global conf.d directory specified in
|
||||
# the environment, defaulting to /etc/tower/conf.d/.
|
||||
settings_dir = os.environ.get('AWX_SETTINGS_DIR', '/etc/tower/conf.d/')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user