File size: 850 Bytes
ebd06cc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
version: 1
formatters:
  simple:
    format: '%(asctime)s - %(filename)s - %(funcName)10s() - %(lineno)d - %(levelname)s - %(message)s'
handlers:
  console:
    class: logging.StreamHandler
    level: DEBUG
    formatter: simple
    stream: ext://sys.stdout
  logfile:
    class: logging.FileHandler
    level: DEBUG
    formatter: simple
    filename: logger.log
    encoding: utf8
loggers:    #These are for individual files and then finally for root
  objectiveHandler:
    level: DEBUG
    handlers: [console,logfile]
    propagate: no
  taskExecutor:
    level: DEBUG
    handlers: [console,logfile]
    propagate: no
  taskPlanner:
    level: DEBUG
    handlers: [console,logfile]
    propagate: no
  connectionpool:
    level: ERROR
    handlers: [console,logfile]
    propagate: no
  root:
    level: DEBUG
    handlers: [console,logfile]