Skip to content

Commit

Permalink
Merge pull request #13 from pgehring/feature/logging_timestamp
Browse files Browse the repository at this point in the history
[log_file_exporter] adjust log format
  • Loading branch information
fmessmer authored Aug 1, 2024
2 parents 42eac21 + 06d3fa4 commit df4b74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robmuxinator/robmuxinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def format(self, record):
logFile = "robmuxinator"
fileHandler = RotatingFileHandler(
"{0}/{1}.log".format(logPath, logFile), maxBytes=1024*10000, backupCount=4)
log_formatter = logging.Formatter("[%(levelname)s] [%(asctime)s]: %(message)s")
log_formatter = logging.Formatter("[%(levelname)s] [%(created)0.15s]: %(message)s")
fileHandler.setFormatter(log_formatter)
logger.addHandler(fileHandler)

Expand Down

0 comments on commit df4b74f

Please sign in to comment.