You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in a long running production environment, we observed that the hostname of log messages is occasionally 'UnknownHost'. The cause is of course not timbre's fault, but I can think of three possible remedies (for us):
When the lookup in get-hostname fails, use the previous cached result instead of 'UnknownHost'
Add some (new?) timbre configuration setting, to set a fixed hostname
Write a middleware to replace :_hostname for all messages (if that's possible).
Which one would you prefer? (We can create pull requests if desired)
David.
The text was updated successfully, but these errors were encountered:
Hello,
in a long running production environment, we observed that the hostname of log messages is occasionally 'UnknownHost'. The cause is of course not timbre's fault, but I can think of three possible remedies (for us):
Which one would you prefer? (We can create pull requests if desired)
David.
The text was updated successfully, but these errors were encountered: