Changeset 6582
- Timestamp:
- Mar 23, 2009, 2:39:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/utilities/log.py
r6578 r6582 40 40 log_logging_level = logging.DEBUG 41 41 42 # The na me of the file to log to.42 # The nat_log.pye of the file to log to. 43 43 log_filename = './anuga.log' 44 44 … … 60 60 ''' 61 61 62 global _setup 62 global _setup, log_logging_level 63 63 64 64 # have we been setup? 65 65 if not _setup: 66 # sanity check the logging levels, require console >= file 67 if console_logging_level < log_logging_level: 68 log_logging_level = console_logging_level 69 66 70 # setup the file logging system 67 71 fmt = '%(asctime)s %(levelname)-8s %(mname)25s:%(lnum)-4d|%(message)s'
Note: See TracChangeset
for help on using the changeset viewer.