-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfiguration.conf
More file actions
53 lines (41 loc) · 921 Bytes
/
configuration.conf
File metadata and controls
53 lines (41 loc) · 921 Bytes
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[DEFAULT]
hawkeye.log_dir = /tmp/hawkeye-log
[hawkeye]
debug = true
mako.directories = hawkeye:templates
mako.module_directory = /tmp/hawkeye/mako
nokkhum.api.protocal = http
nokkhum.api.host = 172.30.235.254
nokkhum.api.port = 6543
[loggers]
#keys=root
keys=root,hawkeye
[logger_root]
handlers=
level=NOTSET
qualname=(root)
[logger_hawkeye]
handlers=screen
level=NOTSET
qualname=hawkeye
[formatters]
keys=simple,complex
[formatter_simple]
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
[formatter_complex]
format=%(asctime)s - %(name)s:%(levelname)s [%(module)s:%(lineno)d] - %(message)s
[handlers]
keys=screen
#keys=hawkeyehandler,screen
[handler_hawkeyehandler]
class=handlers.TimedRotatingFileHandler
interval=midnight
backupCount=5
formatter=complex
level=NOTSET
args=('%(hawkeye.log_dir)s/hawkeye.log',)
[handler_screen]
class=StreamHandler
formatter=complex
level=NOTSET
args=(sys.stdout,)