File tree 1 file changed +1
-12
lines changed 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 430
430
DJANGO_LOG_LEVEL = get_string ("DJANGO_LOG_LEVEL" , "INFO" )
431
431
OS_LOG_LEVEL = get_string ("OS_LOG_LEVEL" , "INFO" )
432
432
433
- # For logging to a remote syslog host
434
- LOG_HOST = get_string ("MITOL_LOG_HOST" , "localhost" )
435
- LOG_HOST_PORT = get_int ("MITOL_LOG_HOST_PORT" , 514 )
436
-
437
433
HOSTNAME = platform .node ().split ("." )[0 ]
438
434
439
435
# nplusone profiler logger configuration
460
456
"class" : "logging.StreamHandler" ,
461
457
"formatter" : "verbose" ,
462
458
},
463
- "syslog" : {
464
- "level" : LOG_LEVEL ,
465
- "class" : "logging.handlers.SysLogHandler" ,
466
- "facility" : "local7" ,
467
- "formatter" : "verbose" ,
468
- "address" : (LOG_HOST , LOG_HOST_PORT ),
469
- },
470
459
"mail_admins" : {
471
460
"level" : "ERROR" ,
472
461
"filters" : ["require_debug_false" ],
488
477
"nplusone" : {"handlers" : ["console" ], "level" : "ERROR" },
489
478
"boto3" : {"handlers" : ["console" ], "level" : "ERROR" },
490
479
},
491
- "root" : {"handlers" : ["console" , "syslog" ], "level" : LOG_LEVEL },
480
+ "root" : {"handlers" : ["console" ], "level" : LOG_LEVEL },
492
481
}
493
482
494
483
STATUS_TOKEN = get_string ("STATUS_TOKEN" , "" )
You can’t perform that action at this time.
0 commit comments