Questions tagged [spring-logback]
288 questions
0
votes
2 answers
Spring Boot logback-spring.xml
Can someone help me to create a logback-spring.xml file for this scenario:
startup log and application log should be logged to 2 separate files, which are updated continiously. How would the file appenders look in logback-spring.xml?

Mattias S. Nordell
- 53
- 1
- 1
- 10
0
votes
1 answer
No bean of PatternLayoutEncoder type can be found
I'm using LogBack in a Spring Boot 2 application and I'm trying to configure a console appender but it gives me the following error:
Description:
Parameter 1 of method consoleAppender in com.thalasoft.user.rest.config.LogWeb required a bean of type…

Stephane
- 11,836
- 25
- 112
- 175
-1
votes
1 answer
How to use system property variable in log4j2.xml in spring boot using lombok log?
I am having a CommandLineRunner Spring Boot applicatio nwith Sytem property log_prefix.
I am currently using a log24j.xml for setting the log configurations. It is taking the filename etc from the tag in the log24j.xml. Is there a way…

Thy
- 31
- 6