-
Notifications
You must be signed in to change notification settings - Fork 157
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
Allow setting both hostname and logfile name in the config #126
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Following the discussion in #51, I am opening this new suggestion:
Papertrail has two "tags" per entry - the
hostname
, sometimes referred to asthe
system name
, and thelog name
, sometimes referred to as thetag
.PR #51 opened my apetite to be able to edit not only the second one (tag), but also the first one.
Then, we will be able to configure like this:
And the output will look like this:
( assuming {{ name }} evaluates to rails01 and rails02 )
instead of
In other words - allow to set hostname per file, and not only globally per actual physical machine.
The rationale is simple:
hostname
is a little useless in such casestag
of the log contains information about the system and not the log file. It does not belog there. (e.g.rails rails01_crono
is less readable and compact thanrails01 crono
)If more clarifications are needed about our use case, I am happy to share more.
The text was updated successfully, but these errors were encountered: