This file is indexed.

/usr/lib/python2.7/dist-packages/sas/logging.ini is in python-sasview 4.2.0~git20171031-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
67
68
69
70
71
###############################################################################
################################### LOGGING ###################################
###############################################################################
# Main logger for SASView

# SEE: https://docs.python.org/2/library/logging.html#logrecord-attributes
[formatters]
keys=simple,detailed

[formatter_simple]
#format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
#format=%(asctime)s - %(levelname)s : %(name)s:%(pathname)s:%(lineno)4d: %(message)s
format=%(asctime)s - %(levelname)s : %(name)s:%(lineno)4d: %(message)s
datefmt=%H:%M:%S

[formatter_detailed]
#format=%(asctime)s : %(levelname)s : %(name)s: %(lineno)d: %(message)s
format=%(asctime)s : %(levelname)s : %(name)s (%(filename)s:%(lineno)s) :: %(message)s

###############################################################################
# Handlers

[handlers]
keys=console,log_file

[handler_console]
class=logging.StreamHandler
formatter=simple
level=WARNING
args=tuple()

[handler_log_file]
class=logging.FileHandler
level=DEBUG
formatter=detailed
args=(os.path.join(os.path.expanduser("~"),'sasview.log'),"a")

###############################################################################
# Loggers

[loggers]
keys=root,saspr,sasgui,sascalc,sasmodels

[logger_root]
level=DEBUG
formatter=default
handlers=console,log_file

[logger_sasmodels]
level=INFO
qualname=sas.models
handlers=console,log_file
propagate=0

[logger_saspr]
level=INFO
qualname=sas.pr
handlers=console,log_file
propagate=0

[logger_sasgui]
level=DEBUG
qualname=sas.sasgui
handlers=console,log_file
propagate=0

[logger_sascalc]
level=INFO
qualname=sas.sascalc
handlers=console,log_file
propagate=0