source: sasview/test/logging.ini @ d6e38661

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalc
Last change on this file since d6e38661 was aaad4c95, checked in by Ricardo Ferraz Leal <ricleal@…>, 8 years ago

Log for tests is now on the test directory

  • Property mode set to 100644
File size: 1000 bytes
Line 
1
2###############################################################################
3################################### LOGGING ###################################
4###############################################################################
5
6[formatters]
7keys=simple,detailed
8
9[formatter_simple]
10format=%(name)s: %(levelname)s: %(message)s
11 
12[formatter_detailed]
13format=%(name)s: %(levelname)s %(module)s: %(lineno)d: %(message)s
14
15###############################################################################
16# Handlers
17
18[handlers]
19keys=console,log_file
20
21[handler_console]
22class=logging.StreamHandler
23formatter=simple
24level=DEBUG
25args=tuple()
26
27[handler_log_file]
28class=logging.FileHandler
29level=INFO
30formatter=detailed
31args=('tests.log','w')
32
33###############################################################################
34# Loggers
35
36[loggers]
37keys=root,sas
38
39[logger_root]
40level=DEBUG
41handlers=console,log_file
42propagate=0
43
44[logger_sas]
45level=INFO
46qualname=sas
47handlers=console,log_file
48propagate=0
Note: See TracBrowser for help on using the repository browser.