Changeset 726729c in ammosreader
- Timestamp:
- 05/18/23 11:12:34 (2 years ago)
- Branches:
- AmmosSource, guix
- Children:
- d34008d
- Parents:
- e62187d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ammosreader/__init__.py
re62187d r726729c 5 5 logger = logging.getLogger(__name__) 6 6 7 logging_dir = Path(os.environ.get('AMMOS_LOG_DIR' ))7 logging_dir = Path(os.environ.get('AMMOS_LOG_DIR', '/var/log/')) 8 8 9 if not log_dir.exists():10 log_dir = Path('/var/log/')11 9 log_path = log_dir / 'ammos.log' 12 10
Note:
See TracChangeset
for help on using the changeset viewer.