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

♻️ change message pattern from text to json on logback #346

Open
wants to merge 4 commits into
base: be/dev
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Sep 2, 2024

closes #345

Change format

Block to send to Loki

  • if you run the application without running Loki container, you will see the below error message with red color
    20:48:59,748 |-ERROR in com.github.loki4j.client.pipeline.AsyncBufferPipeline@69c5f562 - Error while sending Batch 
    #2100980e905c (28,653 bytes) to Loki (http://localhost:3100/loki/api/v1/push) java.net.ConnectException
    
  • In order to prohibit see that error message, I configure that the log only send specific profiles dev and prod.
  • and If you want to send log to Loki on local profile, you can do that by removing comment at logback-spring.xml 47L-49L

@github-actions github-actions bot added the BE Backend label Sep 2, 2024
Copy link
Author

github-actions bot commented Sep 2, 2024

Overall Project 92.88% 🍏

There is no coverage information present for the Files changed

Copy link
Author

github-actions bot commented Sep 2, 2024

Overall Project 92.88% 🍏

There is no coverage information present for the Files changed

Copy link
Author

github-actions bot commented Sep 2, 2024

Overall Project 92.88% 🍏

There is no coverage information present for the Files changed

Copy link
Author

github-actions bot commented Sep 3, 2024

Overall Project 92.88% 🍏

There is no coverage information present for the Files changed

@geoje geoje requested review from hyxrxn and removed request for tackyu September 19, 2024 01:39
Copy link
Author

github-actions bot commented Oct 9, 2024

Overall Project 91.05% 🍏

There is no coverage information present for the Files changed

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

Successfully merging this pull request may close these issues.

1 participant