title: Spring Boot external WAR run in Apache Tomcat has no log
body: <p>I have configured Spring Boot to work with tomcat as in the guide:
  <a href="https://www.baeldung.com/spring-boot-war-tomcat-deploy" rel="noreferrer">https://www.baeldung.com/spring-boot-war-tomcat-deploy</a> . 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:</p>
  
  <pre><code>logging.level.org.springframework.web=DEBUG
  logging.level.org.hibernate=ERROR
  </code></pre>
  
  <p>and no luck any idea ?</p>
  
  <p>my <code>application.properites</code></p>
  
  <pre><code># ===============================
  # = 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
  </code></pre>