|
Revision 535, 338 bytes
(checked in by jajcus, 4 years ago)
|
- flexible logging configuration support and a sample logging configuration file
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
author date id
|
| Line | |
|---|
| 1 |
[loggers] |
|---|
| 2 |
keys=root |
|---|
| 3 |
[handlers] |
|---|
| 4 |
keys=hndlr |
|---|
| 5 |
[formatters] |
|---|
| 6 |
keys=form |
|---|
| 7 |
|
|---|
| 8 |
[logger_root] |
|---|
| 9 |
level=DEBUG |
|---|
| 10 |
handlers=hndlr |
|---|
| 11 |
|
|---|
| 12 |
[handler_hndlr] |
|---|
| 13 |
class=FileHandler |
|---|
| 14 |
level=DEBUG |
|---|
| 15 |
formatter=form |
|---|
| 16 |
args=("cjc-detailed.log",) |
|---|
| 17 |
|
|---|
| 18 |
[formatter_form] |
|---|
| 19 |
class=cjclogging.UnicodeFormatter |
|---|
| 20 |
format=%(asctime)s %(filename)15s:%(lineno)4d th#%(thread)-5d %(levelname)7s %(message)s |
|---|
| 21 |
|
|---|