Closed arianamihailescu closed 4 days ago
The changes involve modifications to two configuration files: application.yml
and logback-spring.xml
. In application.yml
, a new entry app: link-dev
is added under the loki
section to specify an application identifier for the Loki logging service. In logback-spring.xml
, a new property loki_app
is introduced, which dynamically references the loki.app
value, replacing a hardcoded value in the logging pattern for the LOKI appender. These adjustments enhance the configurability of the logging setup while preserving existing configurations.
File Path | Change Summary |
---|---|
Java/measureeval/src/main/resources/application.yml | Added new entry: app: link-dev under loki section. |
Java/measureeval/src/main/resources/logback-spring.xml | Added property: <springProperty scope="context" name="loki_app" source="loki.app" /> and updated logging pattern to use ${loki_app} . |
sequenceDiagram
participant Application
participant Loki
Application->>Loki: Send logs with app identifier
Loki-->>Application: Acknowledge receipt of logs
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
🛠 Description of Changes
Please provide a high-level overview of the changes included in this PR.
🧪 Testing Performed
Please describe the testing that was performed on the changes included in this PR.
Summary by CodeRabbit
New Features
Bug Fixes