mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-11-27 05:26:50 +01:00
dd23846059
- [nexus] Switch bot - [bot] Added extra receivers functionality GitOrigin-RevId: 68fc32d3e79ff411758f54f435fe8680fc42dead
64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
---
|
|
|
|
logging:
|
|
disable_existing_loggers: false
|
|
formatters:
|
|
base:
|
|
class: library.logging.formatters.BaseFormatter
|
|
default:
|
|
class: library.logging.formatters.DefaultFormatter
|
|
none:
|
|
class: logging.Formatter
|
|
traceback:
|
|
class: library.logging.formatters.TracebackFormatter
|
|
handlers:
|
|
debug:
|
|
class: library.logging.handlers.BaseFileHandler
|
|
formatter: default
|
|
filename: '{{ log_path }}/debug.log'
|
|
level: DEBUG
|
|
error:
|
|
class: library.logging.handlers.BaseFileHandler
|
|
filename: '{{ log_path }}/error.log'
|
|
formatter: default
|
|
level: ERROR
|
|
statbox:
|
|
class: library.logging.handlers.BaseFileHandler
|
|
filename: '{{ log_path }}/statbox.log'
|
|
formatter: default
|
|
level: INFO
|
|
traceback:
|
|
class: library.logging.handlers.BaseFileHandler
|
|
filename: '{{ log_path }}/traceback.log'
|
|
formatter: traceback
|
|
level: ERROR
|
|
warning:
|
|
class: library.logging.handlers.BaseFileHandler
|
|
filename: '{{ log_path }}/warning.log'
|
|
formatter: default
|
|
level: WARNING
|
|
loggers:
|
|
debug:
|
|
handlers:
|
|
- debug
|
|
propagate: false
|
|
error:
|
|
handlers:
|
|
- error
|
|
- traceback
|
|
- warning
|
|
propagate: false
|
|
statbox:
|
|
handlers:
|
|
- statbox
|
|
propagate: false
|
|
telethon:
|
|
handlers:
|
|
- error
|
|
propagate: false
|
|
root:
|
|
handlers:
|
|
- debug
|
|
level: DEBUG
|
|
version: 1
|