Show More
@@ -531,8 +531,7 b' keys = generic, color_formatter, color_f' | |||||
531 | ############# |
|
531 | ############# | |
532 |
|
532 | |||
533 | [logger_root] |
|
533 | [logger_root] | |
534 |
|
|
534 | level = NOTSET | |
535 | level = DEBUG |
|
|||
536 | handlers = console |
|
535 | handlers = console | |
537 |
|
536 | |||
538 | [logger_routes] |
|
537 | [logger_routes] | |
@@ -561,10 +560,8 b' qualname = kallithea' | |||||
561 | propagate = 1 |
|
560 | propagate = 1 | |
562 |
|
561 | |||
563 | [logger_sqlalchemy] |
|
562 | [logger_sqlalchemy] | |
564 |
|
|
563 | level = INFO | |
565 | level = ERROR |
|
564 | handlers = console_sql | |
566 | #handlers = console_sql |
|
|||
567 | handlers = console |
|
|||
568 | qualname = sqlalchemy.engine |
|
565 | qualname = sqlalchemy.engine | |
569 | propagate = 0 |
|
566 | propagate = 0 | |
570 |
|
567 | |||
@@ -582,14 +579,16 b' propagate = 1' | |||||
582 | class = StreamHandler |
|
579 | class = StreamHandler | |
583 | args = (sys.stderr,) |
|
580 | args = (sys.stderr,) | |
584 | #level = INFO |
|
581 | #level = INFO | |
585 |
level = |
|
582 | level = DEBUG | |
586 | formatter = generic |
|
583 | #formatter = generic | |
|
584 | formatter = color_formatter | |||
587 |
|
585 | |||
588 | [handler_console_sql] |
|
586 | [handler_console_sql] | |
589 | class = StreamHandler |
|
587 | class = StreamHandler | |
590 | args = (sys.stderr,) |
|
588 | args = (sys.stderr,) | |
591 | level = WARN |
|
589 | level = WARN | |
592 | formatter = generic |
|
590 | #formatter = generic | |
|
591 | formatter = color_formatter_sql | |||
593 |
|
592 | |||
594 | ################ |
|
593 | ################ | |
595 | ## FORMATTERS ## |
|
594 | ## FORMATTERS ## |
@@ -62,15 +62,16 b' ini_files = [' | |||||
62 | 'beaker.cache.lock_dir': '%(here)s/../../data/test/cache/lock', |
|
62 | 'beaker.cache.lock_dir': '%(here)s/../../data/test/cache/lock', | |
63 | 'sqlalchemy.db1.url': 'sqlite:///%(here)s/kallithea_test.sqlite', |
|
63 | 'sqlalchemy.db1.url': 'sqlite:///%(here)s/kallithea_test.sqlite', | |
64 | }, |
|
64 | }, | |
65 |
'[ |
|
65 | '[handler_console]': { | |
66 | 'level': 'DEBUG', |
|
66 | 'level': 'DEBUG', | |
|
67 | 'formatter': 'color_formatter', | |||
67 | }, |
|
68 | }, | |
68 | '[logger_sqlalchemy]': { |
|
69 | # The 'handler_console_sql' block is very similar to the one in | |
69 | 'level': 'ERROR', |
|
70 | # development.ini, but without the explicit 'level=DEBUG' setting: | |
70 | 'handlers': 'console', |
|
71 | # it causes duplicate sqlalchemy debug logs, one through | |
71 | }, |
|
72 | # handler_console_sql and another through another path. | |
72 | '[handler_console]': { |
|
73 | '[handler_console_sql]': { | |
73 | 'level': 'NOTSET', |
|
74 | 'formatter': 'color_formatter_sql', | |
74 | }, |
|
75 | }, | |
75 | }, |
|
76 | }, | |
76 | ), |
|
77 | ), |
General Comments 0
You need to be logged in to leave comments.
Login now