Skip to content

Commit

Permalink
fix logname
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Apr 26, 2024
1 parent 71b87c4 commit 50cbe48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dipper/processes/wps_flood_forecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import logging
LOGGER = logging.getLogger("PYWPS")
# LOGNAME = LOGGER.name + '-debug.log'
LOGNAME = tempfile.mkstemp(".log", f"{LOGGER.name}-debug-")
LOGNAME = tempfile.mkstemp(".log", f"{LOGGER.name}-debug-")[1]
filehandler_dbg = logging.FileHandler(LOGNAME, mode='w')
filehandler_dbg.setLevel('DEBUG')
#Create custom formats of the logrecord fit for both the logfile and the console
Expand Down

0 comments on commit 50cbe48

Please sign in to comment.