Repository: ansible/awx
File: awx/settings/defaults.py (Python)

Code before:
            'filename': os.path.join(LOG_ROOT, 'task_system.log'),
            'maxBytes': 1024 * 1024 * 5, # 5 MB
            'backupCount': 5,
            'formatter':'simple',
        },
        'management_playbooks': {
            'level': 'DEBUG',
            'class':'logging.handlers.RotatingFileHandler',
            'filters': ['require_debug_false'],
            'filename': os.path.join(LOG_ROOT, 'management_playbooks.log'),
            'maxBytes': 1024 * 1024 * 5, # 5 MB
            'backupCount': 5,
            'formatter':'simple',
        },
        'system_tracking_migrations': {
            'level': 'WARNING',
            'class':'logging.handlers.RotatingFileHandler',
            'filters': ['require_debug_false'],
            'filename': os.path.join(LOG_ROOT, 'tower_system_tracking_migrations.log'),
            'maxBytes': 1024 * 1024 * 5, # 5 MB
            'backupCount': 5,
            'formatter':'simple',
        },
        'rbac_migrations': {
            'level': 'WARNING',
            'class':'logging.handlers.RotatingFileHandler',
            'filters': ['require_debug_false'],
            'filename': os.path.join(LOG_ROOT, 'tower_rbac_migrations.log'),
            'maxBytes': 1024 * 1024 * 5, # 5 MB
            'backupCount': 5,
            'formatter':'simple',
        },
        'isolated_manager': {
            'level': 'WARNING',
            'class':'logging.handlers.RotatingFileHandler',
            'filename': os.path.join(LOG_ROOT, 'isolated_manager.log'),
            'maxBytes': 1024 * 1024 * 5, # 5 MB
            'backupCount': 5,
            'formatter':'simple',
        },
        'job_lifecycle': {
            'level': 'INFO',
            'class':'logging.handlers.RotatingFileHandler',
            'filename': os.path.join('/awx_devel', 'job_lifecycle.log'),
            # 'filename': os.path.join(LOG_ROOT, 'job_lifecycle.log'),
            'maxBytes': 1024 * 1024 * 5, # 5 MB
            'backupCount': 5,
            'formatter': 'json2',
        },
    },
    'loggers': {

Review comment (suggestion):
You might want to sync up w/ @chrismeyersfsu on his impending logrotate work, as he's been planning on removing these rotating file handlers.

Code after:
        },  # don't log every celerybeat wakeup
        'inventory_import': {
            'level': 'DEBUG',
            'class':'logging.StreamHandler',
            'formatter': 'timed_import',
        },
        'task_system': {
            # don't define a level here, it's set by settings.LOG_AGGREGATOR_LEVEL
            'class': 'logging.handlers.WatchedFileHandler',
            'filters': ['require_debug_false', 'dynamic_level_filter'],
            'filename': os.path.join(LOG_ROOT, 'task_system.log'),
            'formatter':'simple',
        },
        'management_playbooks': {
            'level': 'DEBUG',
            'class':'logging.handlers.WatchedFileHandler',
            'filters': ['require_debug_false'],
            'filename': os.path.join(LOG_ROOT, 'management_playbooks.log'),
            'formatter':'simple',
        },
        'system_tracking_migrations': {
            'level': 'WARNING',
            'class':'logging.handlers.WatchedFileHandler',
            'filters': ['require_debug_false'],
            'filename': os.path.join(LOG_ROOT, 'tower_system_tracking_migrations.log'),
            'formatter':'simple',
        },
        'rbac_migrations': {
            'level': 'WARNING',
            'class':'logging.handlers.WatchedFileHandler',
            'filters': ['require_debug_false'],
            'filename': os.path.join(LOG_ROOT, 'tower_rbac_migrations.log'),
            'formatter':'simple',
        },
        'isolated_manager': {
            'level': 'WARNING',
            'class':'logging.handlers.WatchedFileHandler',
            'filename': os.path.join(LOG_ROOT, 'isolated_manager.log'),
            'formatter':'simple',
        },
        'job_lifecycle': {
            'level': 'DEBUG',
            'class':'logging.handlers.WatchedFileHandler',
            'filename': os.path.join(LOG_ROOT, 'job_lifecycle.log'),
            'formatter': 'job_lifecycle',
        },
    },
    'loggers': {
        'django': {
            'handlers': ['console'],
        },