Changeset 482456c in ammosreader


Ignore:
Timestamp:
05/16/23 10:55:25 (2 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
9dc7beb
Parents:
df4d123
Message:

configure logger from file

Location:
ammosreader
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • ammosreader/AmmosGlobalFrameHeader.py

    rdf4d123 r482456c  
    22import struct
    33import logging
     4import logging.config
    45
    5 logging.basicConfig(filename='ammos.log', level=logging.DEBUG)
     6logging.config.fileConfig("ammos_logging.conf")
     7# logging.basicConfig(filename='ammos.log', level=logging.DEBUG)
    68
    79
Note: See TracChangeset for help on using the changeset viewer.