java - Tomcat doesnt log anything after it started -


i'm working intellij idea, on spring boot application.

today noticed don't tomcat logs anymore, after tomcat started, while tomcat starting logs mapping security configuration sql requests until it's started, when changes in application, calling service inserts data database.

i tried change log4j had same problem, configured logging file in application.properties, , when watched had same problem, looks problem tomcat, cant figure out.

how can solve problem ?

edit:

here configs used logging:

debug=true spring.output.ansi.enabled=always logging.file=c:\\users\\***\\desktop\\log.txt 

and library i'm using:

<dependency>             <groupid>org.springframework.boot</groupid>             <artifactid>spring-boot-starter-tomcat</artifactid>             <exclusions>                 <exclusion>                     <groupid>org.springframework.boot</groupid>                     <artifactid>spring-boot-starter-logging</artifactid>                 </exclusion>             </exclusions>         </dependency>         <dependency>             <groupid>org.springframework.boot</groupid>             <artifactid>spring-boot-starter-log4j2</artifactid>         </dependency> 


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -