Skip to content
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

include git commit and/or env vars #3

Open
ORESoftware opened this issue Feb 14, 2020 · 1 comment
Open

include git commit and/or env vars #3

ORESoftware opened this issue Feb 14, 2020 · 1 comment

Comments

@ORESoftware
Copy link
Owner

when logging out metafields

var Log = jlog.createLogger(env: []string{"git_commit"})

so then meta would become like:

[bunion, date, appname, hostname, pid, {env: {git_commit:"xyz"}}, []]
@ORESoftware
Copy link
Owner Author

it probably is going to have to be something like this:

[bunion, date, appname, hostname, pid, [], {git_commit:"xyz"}, {custom:"fields"}]

then maybe when we log things, it could look like:

date appname WARN ((env)FOO=bar)

nah that's no good

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

No branches or pull requests

1 participant