Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# This file is no longer used and will be removed in a future version.
2
# Any changes here will be ignored.
3
# Please see `man rhsm.conf` for new logging config information.
4
[loggers]
5
keys=root,rhsm-app,rhsm,subscription_manager,py.warnings
6
 
7
[handlers]
8
keys=rhsm_log,subman_debug
9
 
10
[formatters]
11
keys=rhsm_log,subman_debug
12
 
13
 
14
 
15
[logger_root]
16
level=NOTSET
17
handlers=subman_debug
18
 
19
[logger_rhsm-app]
20
level=DEBUG
21
handlers=rhsm_log
22
qualname=rhsm-app
23
 
24
[logger_rhsm]
25
level=DEBUG
26
handlers=rhsm_log
27
qualname=rhsm
28
 
29
[logger_subscription_manager]
30
level=DEBUG
31
handlers=rhsm_log
32
qualname=subscription_manager
33
 
34
[logger_py.warnings]
35
level=WARNING
36
handlers=rhsm_log
37
qualname=py.warnings
38
 
39
 
40
 
41
[formatter_syslog]
42
format=[%(levelname)s] @%(filename)s:%(lineno)d - %(message)s
43
datefmt=
44
class=logging.Formatter
45
 
46
[formatter_rhsm_log]
47
format=%(asctime)s [%(levelname)s] %(cmd_name)s:%(process)d @%(filename)s:%(lineno)d - %(message)s
48
datefmt=
49
class=logging.Formatter
50
 
51
[formatter_subman_debug]
52
format=%(asctime)s [%(name)s %(levelname)s] %(cmd_name)s(%(process)d):%(threadName)s @%(filename)s:%(funcName)s:%(lineno)d - %(message)s
53
datefmt=
54
class=logging.Formatter
55
 
56
 
57
 
58
[handler_syslog]
59
class=handlers.SysLogHandler
60
level=INFO
61
formatter=syslog
62
args=(('/dev/log',))
63
 
64
[handler_rhsm_log]
65
class=subscription_manager.logutil.RHSMLogHandler
66
level=INFO
67
formatter=rhsm_log
68
# logfilepath is '/var/log/rhsm/rhsm.log' by default
69
# To change it, replace '%(logfilepath)s' with the path to the desired log file.
70
# For example, args=('/var/log/rhsm/mylogfile.log',)
71
args=('%(logfilepath)s',)
72
 
73
[handler_subman_debug]
74
class=subscription_manager.logutil.SubmanDebugHandler
75
level=DEBUG
76
formatter=subman_debug
77
args=()