mirror of
https://github.com/python/cpython
synced 2024-10-08 05:24:50 +00:00
Fixed minor bugs in the example configuration file
This commit is contained in:
parent
2e39d80925
commit
20f42c433b
|
@ -1215,26 +1215,26 @@ formatter=form05
|
||||||
args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)
|
args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_USER)
|
||||||
|
|
||||||
[handler_hand06]
|
[handler_hand06]
|
||||||
class=NTEventLogHandler
|
class=handlers.NTEventLogHandler
|
||||||
level=CRITICAL
|
level=CRITICAL
|
||||||
formatter=form06
|
formatter=form06
|
||||||
args=('Python Application', '', 'Application')
|
args=('Python Application', '', 'Application')
|
||||||
|
|
||||||
[handler_hand07]
|
[handler_hand07]
|
||||||
class=SMTPHandler
|
class=handlers.SMTPHandler
|
||||||
level=WARN
|
level=WARN
|
||||||
formatter=form07
|
formatter=form07
|
||||||
args=('localhost', 'from@abc', ['user1@abc', 'user2@xyz'], 'Logger Subject')
|
args=('localhost', 'from@abc', ['user1@abc', 'user2@xyz'], 'Logger Subject')
|
||||||
|
|
||||||
[handler_hand08]
|
[handler_hand08]
|
||||||
class=MemoryHandler
|
class=handlers.MemoryHandler
|
||||||
level=NOTSET
|
level=NOTSET
|
||||||
formatter=form08
|
formatter=form08
|
||||||
target=
|
target=
|
||||||
args=(10, ERROR)
|
args=(10, ERROR)
|
||||||
|
|
||||||
[handler_hand09]
|
[handler_hand09]
|
||||||
class=HTTPHandler
|
class=handlers.HTTPHandler
|
||||||
level=NOTSET
|
level=NOTSET
|
||||||
formatter=form09
|
formatter=form09
|
||||||
args=('localhost:9022', '/log', 'GET')
|
args=('localhost:9022', '/log', 'GET')
|
||||||
|
|
Loading…
Reference in a new issue