I have configured Spring Boot to work with tomcat as in the guide: https://www.baeldung.com/spring-boot-war-tomcat-deploy . When I run the application from my IDE I can see everything on the console, but on tomcat the logs don't show anything, I also configured this:
logging.level.org.springframework.web=DEBUG
logging.level.org.hibernate=ERROR
and no luck any idea ?
my application.properites
# ===============================
# = DATA SOURCE
# ===============================
spring.datasource.url = jdbc:mysql://...
spring.datasource.username = root
spring.datasource.password = admin
# ===============================
# = JPA / HIBERNATE
# ===============================
spring.jpa.show-sql = true
spring.jpa.hibernate.naming-strategy = org.hibernate.cfg.ImprovedNamingStrategy
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
# ==============================================================
# = Spring Security / Queries for AuthenticationManagerBuilder
# ==============================================================
spring.queries.users-query=select email, password, active from user where email=?
spring.queries.roles-query=select u.email, r.role from user u inner join user_role ur on(u.id=ur.user_id) inner join role r on(ur.role_id=r.id) where u.email=?
logging.level.org.springframework.web=DEBUG
logging.level.org.hibernate=ERROR