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

Log formatting #95

Closed
outstanding1301 opened this issue Sep 21, 2023 · 1 comment
Closed

Log formatting #95

outstanding1301 opened this issue Sep 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@outstanding1301
Copy link

Feature Request

Log formatting

  • process-compose write log like
    {"level":"error","process":"someapp","replica":0,"message":"some application message"}
  • i think we can use thoese keys(level, process, ...) to format log

Use Case:

in process-compose.yml

log_location: logs/log.log
log_level: debug
log_format: "[{process}-{replica}] {asctime}  {level} --- {message}"

-->

[someapp-0] 2023-09-21  error --- some application message

Proposed Change:

Who Benefits From The Change(s)?

Alternative Approaches

@F1bonacc1 F1bonacc1 added the enhancement New feature or request label Sep 23, 2023
@F1bonacc1
Copy link
Owner

Partial formating is available now in v0.69.0

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

No branches or pull requests

2 participants