mirror of
https://github.com/nexus-stc/hyperboria
synced 2024-12-11 20:27:50 +01:00
9ce67ec590
- feat(idm): Rename IDM-2 to IDM - feat(idm): Open IDM 3 internal commit(s) GitOrigin-RevId: e302e9b5cda18cca1adc4ae8a3d906714d222106
77 lines
1.7 KiB
YAML
77 lines
1.7 KiB
YAML
---
|
|
|
|
logging:
|
|
disable_existing_loggers: false
|
|
formatters:
|
|
base:
|
|
class: library.logging.formatters.BaseFormatter
|
|
default:
|
|
class: library.logging.formatters.DefaultFormatter
|
|
traceback:
|
|
class: library.logging.formatters.TracebackFormatter
|
|
handlers:
|
|
debug:
|
|
class: logging.StreamHandler
|
|
formatter: default
|
|
level: DEBUG
|
|
stream: 'ext://sys.stderr'
|
|
error:
|
|
class: library.logging.handlers.BaseFileHandler
|
|
filename: '{{ log_path }}/error.log'
|
|
formatter: default
|
|
level: ERROR
|
|
operation:
|
|
class: library.logging.handlers.BaseFileHandler
|
|
filename: '{{ log_path }}/operation.log'
|
|
formatter: base
|
|
level: DEBUG
|
|
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:
|
|
aiokafka:
|
|
handlers:
|
|
- error
|
|
propagate: false
|
|
debug:
|
|
handlers:
|
|
- debug
|
|
propagate: false
|
|
error:
|
|
handlers:
|
|
- traceback
|
|
- error
|
|
- warning
|
|
propagate: false
|
|
operation:
|
|
handlers:
|
|
- operation
|
|
propagate: false
|
|
statbox:
|
|
handlers:
|
|
- statbox
|
|
propagate: false
|
|
telethon:
|
|
handlers:
|
|
- error
|
|
propagate: false
|
|
root:
|
|
handlers:
|
|
- debug
|
|
- error
|
|
- warning
|
|
level: DEBUG
|
|
version: 1
|