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

[Feature request] allow to prefix output #24

Open
CircleCode opened this issue Nov 16, 2017 · 1 comment
Open

[Feature request] allow to prefix output #24

CircleCode opened this issue Nov 16, 2017 · 1 comment
Labels

Comments

@CircleCode
Copy link

state of the art docker runs only one servce, but in true life, you sometimes need to run supercrinic alongside other services.
In this case, it is difficult to diffrentiate output from supercronic from other output.
can you either add an option to define an output prefix, or prefix it by default?

@CircleCode CircleCode changed the title [Feature request) allow to prefix output [Feature request] allow to prefix output Nov 17, 2017
@krallin
Copy link
Collaborator

krallin commented Nov 21, 2017

This is certainly possible, and should be fairly to implement by adding a flag to use a logging formatter that injects a prefix (might be worth having a format option that can accept a value, and deprecate — but not remove — the current json flag).

That said, I don't really have the bandwidth to work on this right now, but I'd be happy to look at a PR for it.

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

No branches or pull requests

3 participants