Skip to content

Instantly share code, notes, and snippets.

@jeremylenz
Last active May 14, 2021 14:52
Show Gist options
  • Save jeremylenz/ee5fd003c736625256747b884e149093 to your computer and use it in GitHub Desktop.
Save jeremylenz/ee5fd003c736625256747b884e149093 to your computer and use it in GitHub Desktop.
# Change Foreman's logging gem settings to log the full logger name instead of just the first 3 characters
# config/logging.yaml#L94
:pattern: "%d [%.1l|%c|%.8X{request}] %m\n"
# Log the line, file, and method that calls logger.debug (useless because it's always method_missing):
log_trace: true # can also use %F, %L, %M in the pattern now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment