-
Notifications
You must be signed in to change notification settings - Fork 85
/
log_settings.json
35 lines (32 loc) · 1.03 KB
/
log_settings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"_comment1": "Log settings for Windows/PyCharm development, this should be replaced in production.",
"_comment2": "Your account must have Full Control to the registry key:",
"_comment3": "HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\EventLog\n\nApplication",
"version": 1,
"disable_existing_loggers": false,
"formatters": {
"simple": {
"format": "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
}
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"level": "DEBUG",
"formatter": "simple",
"stream": "ext://sys.stdout"
},
"windows_eventlog": {
"class": "logging.handlers.NTEventLogHandler",
"level": "INFO",
"formatter": "simple",
"appname": "Sysadminboard",
"dllname":"",
"logtype": "Application"
}
},
"root": {
"level": "DEBUG",
"handlers": ["console", "windows_eventlog"]
}
}