configurationengine/source/scripts/logging.ini
author m2lahtel
Tue, 10 Aug 2010 14:29:28 +0300
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
permissions -rw-r--r--
ConE 1.2.11 release
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     1
[DEFAULT]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     2
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     3
[loggers]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     4
keys=root,cone
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     5
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     6
[handlers]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     7
keys=fileHandler,consoleHandler
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     8
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
     9
[formatters]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    10
keys=fileFormatter,consoleFormatter 
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    11
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    12
[logger_root]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    13
# Explicitly define level, since otherwise the default level would be used
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    14
level=NOTSET
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    15
handlers=fileHandler,consoleHandler
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    16
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    17
[logger_cone]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    18
level=NOTSET
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    19
qualname=cone
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    20
handlers=
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    21
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    22
[handler_consoleHandler]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    23
class=StreamHandler
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    24
formatter=consoleFormatter
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    25
args=(sys.stdout,)
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    26
# level is not defined here , since it is expected to come from the defaults,
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    27
# which in turn comes from the command line
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    28
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    29
[handler_fileHandler]
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    30
class=FileHandler
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    31
level=DEBUG
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    32
formatter=fileFormatter
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    33
args=('%(logfile)s','w')
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    34
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    35
[formatter_consoleFormatter]
3
e7e0ae78773e ConE 1.2.11 release
m2lahtel
parents: 0
diff changeset
    36
format=%(levelname)s: %(name)s %(message)s
0
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    37
datefmt=%m-%d %H:%M
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    38
2e8eeb919028 Adding EPL version of configurationengine.
terytkon
parents:
diff changeset
    39
[formatter_fileFormatter]
3
e7e0ae78773e ConE 1.2.11 release
m2lahtel
parents: 0
diff changeset
    40
format=%(asctime)s %(levelname)-8s: %(name)s %(message)s