Django RotatingFileHandler

if DEBUG and os.environ.get('RUN_MAIN', None) != 'true':
    LOGGING = {}
crêpper