This task is responsible for adding the logback-spring.xml configuration file for setting up all the necessary appenders for Loki as well as adding any dependencies to the bot on the project loki4j.
Acceptance Criteria
Add a logback-spring.xml configuration file under /src/resources and add <springProfiles> for both local and prod profiles. A sample configuration file could be:
This task is responsible for adding the
logback-spring.xml
configuration file for setting up all the necessary appenders for Loki as well as adding any dependencies to the bot on the project loki4j.Acceptance Criteria
Add a
logback-spring.xml
configuration file under/src/resources
and add<springProfiles>
for bothlocal
andprod
profiles. A sample configuration file could be: