8fac5962babfdd3c88d13658b8bea3ff2b0eae5e
[x2gobroker.git] / etc / broker / x2gobroker-loggers.conf
1 # This file is part of the  X2Go Project - http://www.x2go.org
2 # Copyright (C) 2012-2014 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
3 #
4 # X2Go Session Broker is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU Affero General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
8 #
9 # X2Go Session Broker is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU Affero General Public License for more details.
13 #
14 # You should have received a copy of the GNU Affero General Public License
15 # along with this program; if not, write to the
16 # Free Software Foundation, Inc.,
17 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
18
19 # WARNING: only modify this file if you _exactly_ know what you are doing!!!
20
21 [loggers]
22 keys=root,broker,access,error
23
24 [logger_root]
25 level=NOTSET
26 handlers=stderrHandler
27
28 [handlers]
29 keys=stderrHandler,brokerFileHandler,accessFileHandler,errorFileHandler
30
31 [formatters]
32 keys=brokerFormatter,accessFormatter,errorFormatter
33
34 [handler_stderrHandler]
35 class=StreamHandler
36 args=(sys.stderr,)
37
38 [logger_broker]
39 level=DEBUG
40 handlers=brokerFileHandler
41 qualname=broker
42 propagate=0
43
44 [handler_brokerFileHandler]
45 class=FileHandler
46 formatter=brokerFormatter
47 args=('/var/log/x2gobroker/broker.log',)
48
49 [formatter_brokerFormatter]
50 format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
51 datefmt=
52
53 [logger_access]
54 level=DEBUG
55 handlers=accessFileHandler
56 qualname=access
57 propagate=0
58
59 [handler_accessFileHandler]
60 class=FileHandler
61 formatter=accessFormatter
62 args=('/var/log/x2gobroker/access.log',)
63
64 [formatter_accessFormatter]
65 format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
66 datefmt=
67
68 [logger_error]
69 level=DEBUG
70 handlers=errorFileHandler
71 qualname=error
72 propagate=0
73
74 [handler_errorFileHandler]
75 class=FileHandler
76 formatter=accessFormatter
77 args=('/var/log/x2gobroker/error.log',)
78
79 [formatter_errorFormatter]
80 format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
81 datefmt=