register a logger for fact receiver

This commit is contained in:
Chris Meyers 2015-06-22 13:13:48 -04:00
parent c6e3798259
commit 31b9304165

View File

@ -643,6 +643,15 @@ LOGGING = {
'backupCount': 5,
'formatter':'simple',
},
'fact_receiver': {
'level': 'WARNING',
'class':'logging.handlers.RotatingFileHandler',
'filters': ['require_debug_false'],
'filename': os.path.join(LOG_ROOT, 'fact_receiver.log'),
'maxBytes': 1024 * 1024 * 5, # 5 MB
'backupCount': 5,
'formatter':'simple',
}
},
'loggers': {
'django': {
@ -677,6 +686,10 @@ LOGGING = {
'handlers': ['console', 'file', 'task_system'],
'propagate': False
},
'awx.main.commands.run_fact_cache_receiver': {
'handlers': ['console', 'file', 'fact_receiver'],
'propagate': False
},
'awx.main.access': {
'handlers': ['null'],
'propagate': False,