Skip to content

Commit cea35b6

Browse files
revert unwanted deletion of logging.conf
1 parent 38df315 commit cea35b6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

src/geophires_x/logging.conf

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[loggers]
2+
keys=root
3+
4+
[handlers]
5+
keys=consoleHandler, fileHandler
6+
7+
[formatters]
8+
keys=consoleFormatter, fileFormatter
9+
10+
[logger_root]
11+
level=WARN
12+
handlers=consoleHandler, fileHandler
13+
14+
[handler_consoleHandler]
15+
class=logging.StreamHandler
16+
level=WARN
17+
formatter=consoleFormatter
18+
args=(sys.stdout,)
19+
20+
[handler_fileHandler]
21+
class = logging.FileHandler
22+
kwargs = {"filename": "all_messages_conf.log"}
23+
level = INFO
24+
formatter = fileFormatter
25+
26+
[formatter_consoleFormatter]
27+
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
28+
29+
[formatter_fileFormatter]
30+
format = %(asctime)s : %(levelname)s : %(module)s : %(funcName)s : %(lineno)d : (Process Details : (%(process)d, %(processName)s), Thread Details : (%(thread)d, %(threadName)s)): %(message)s
31+
datefmt = %d-%m-%Y %I:%M:%S

0 commit comments

Comments
 (0)