Projekt

Obecné

Profil

Stáhnout (473 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
[loggers]
2
keys=root
3

    
4
[handlers]
5
keys=consoleHandler,logFileHandler
6

    
7
[formatters]
8
keys=simpleFormatter
9

    
10
[logger_root]
11
level=DEBUG
12
handlers=consoleHandler
13

    
14
[handler_consoleHandler]
15
class=StreamHandler
16
level=DEBUG
17
formatter=simpleFormatter
18
args=(sys.stdout,)
19

    
20
[handler_logFileHandler]
21
class=handlers.RotatingFileHandler
22
level=NOTSET
23
args=('log_file.log', 'a', 10485760, 1)
24
formatter=simpleFormatter
25

    
26
[formatter_simpleFormatter]
27
format=%(asctime)s - %(levelname)s - %(message)s
(2-2/2)