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

Setting log_format to the same as marathon-framework #22

Closed
wants to merge 1 commit into from

Conversation

sjoerdmulder
Copy link

@lloesche
Copy link
Contributor

lloesche commented Jun 6, 2016

Thanks for the PR @sjoerdmulder !

I see where you're coming from. I just think it's too late to change it now. Both Marathon and Chronos are in wide use and I'm not willing to break peoples existing log parsers for the sake of uniformity. As much as this triggers my OCD now that I know 😄

@lingmann Thoughts?

@lingmann
Copy link
Contributor

lingmann commented Jun 6, 2016

I tend to agree. How about making the log format user configurable via config file / environment variable? That way we could have an easy path to deprecate the old format.

@lloesche
Copy link
Contributor

lloesche commented Jun 6, 2016

I like it, we could do something like

local log_format="${LOG_FORMAT:-%2\$s %5\$s%6\$s%n}"

then users can provide LOG_FORMAT via /etc/sysconfig/chronos or some other way that sets the env var.

@sjoerdmulder would you mind updating the PR?

@sjoerdmulder
Copy link
Author

Yes off course, actually the space is causing issues for me with passing
extra args. Hence the PR.
Op 6 jun. 2016 18:41 schreef "Lukas Lösche" notifications@github.com:

I just realised why log_format was assigned in single quotes.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAOY4Ru5sZOacpkdAUyyFE_lSifscyd7ks5qJE3EgaJpZM4IFFJH
.

@lloesche
Copy link
Contributor

Closing for inactivity. Please open a new PR if you plan on implementing the suggested change.

@lloesche lloesche closed this Jul 29, 2016
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

Successfully merging this pull request may close these issues.

None yet

3 participants