forked from opennode/opennode-management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logging.conf
executable file
·66 lines (66 loc) · 2.64 KB
/
logging.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
disable_existing_loggers: false
filters:
excluded-messages:
(): opennode.oms.log.MessageRegexFilter
banlist: [.*keepalive@openssh.com, .*POST .*/webterm, .*GET /favicon.ico, .*POST
/+stream, .*OPTIONS /, .*GET /plugins/onc/root/, got channel session request,
channel open, remote close, sending close 0, disabling diffie-hellman-group-exchange
because we cannot find moduli file]
twisted-system:
(): opennode.oms.log.TwistedSystemFilter
banlist: [SSHServerTransport, SSHService, proc]
formatters:
default: {format: '%(asctime)s %(thread)x %(name)s %(levelname)s %(message)s'}
twisted: {format: '%(asctime)s %(thread)x %(name)s %(levelname)s %(system)s %(message)s'}
userlog: {format: '%(asctime)s %(levelname)s %(username)s %(subject)s %(owner)s %(message)s'}
profiler: {format: '%(asctime)s %(message)s'}
handlers:
default: {class: logging.handlers.WatchedFileHandler, filename: omsd.log, formatter: default}
twisted: {class: logging.handlers.WatchedFileHandler, filename: omsd.log, formatter: twisted}
audit: {class: logging.handlers.WatchedFileHandler, filename: audit.log, formatter: default}
stdout: {class: logging.StreamHandler, formatter: default}
userlog: {class: logging.handlers.WatchedFileHandler, filename: userlog.log, formatter: userlog}
profiler: {class: logging.handlers.WatchedFileHandler, filename: memory.log, formatter: profiler}
dblog: {class: logging.handlers.WatchedFileHandler, filename: oms-dblog.log, formatter: default}
smtperrbuffer: {class: logging.handlers.MemoryHandler, target: smtperr, capacity: 50, flushLevel: CRITICAL}
smtperr: {class: logging.handlers.SMTPHandler,
mailhost: localhost,
fromaddr: errors-noreply@opennodecloud.com,
toaddrs: [admin@somewhere.int],
subject: "OMS Error log",
level: ERROR}
loggers:
ZEO.ClientStorage: {level: WARNING}
ZEO.zrpc: {level: WARNING}
salt: {level: WARNING}
twisted:
filters: [twisted-system, excluded-messages]
handlers: [twisted]
level: INFO
propagate: false
txn: {level: WARNING}
opennode.oms.security.checker:
level: INFO
handlers: [audit, default, stdout]
opennode.oms.endpoint.webterm.root:
level: INFO
opennode.oms.userlog:
level: INFO
handlers: [userlog]
propagate: false
opennode.oms.tools.memory_profiler:
level: INFO
handlers: [profiler]
propagate: false
opennode.oms.zodb.db:
level: WARNING
handlers: [dblog]
propagate: false
opennode.knot.backend.subprocess:
level: WARNING
opennode.knot.backend.billing.userstats:
level: WARNING
root:
handlers: [default]
level: INFO
version: 1