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