source: sasview/test/logging.ini @ 76c4469

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 76c4469 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
RevLine 
[c155a16]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
[aaad4c95]31args=('tests.log','w')
[c155a16]32
33###############################################################################
34# Loggers
35
36[loggers]
[ebb0a55]37keys=root,sas
[c155a16]38
[ebb0a55]39[logger_root]
[c155a16]40level=DEBUG
41handlers=console,log_file
[ebb0a55]42propagate=0
[c155a16]43
44[logger_sas]
45level=INFO
46qualname=sas
[ebb0a55]47handlers=console,log_file
48propagate=0
Note: See TracBrowser for help on using the repository browser.