Skip to content

Fix log format in opening file #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tac0x2a
Copy link

@tac0x2a tac0x2a commented May 27, 2017

Change opening-file log format to same format to "closed file" .

Copy link
Member

@jsvd jsvd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. sorry to have taken a year to get to this
  2. we tend to use structured logging as much as possible, so I'd like to instead change the log line that isn't using it. i.e. changing:

@logger.info("Closing file %s" % path)

to

@logger.info("Closing file", :path => path)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants