0

I want use struts 2.5 over logback but everything log to file only write to console of tomcat

i used jar as below:

  • struts 2.5.13
  • logback-core 1.2.3
  • logback-classic 1.2.3
  • log4j-api 2.9.1
  • log4j-to-slf4j 2.9.1
  • slf4j-api 1.7.25

Many thanks

amateur
  • 39
  • 1
  • 3
  • The logging libraries seem ok. Can you show your logback configuration? Also it’s unclear what you want to achieve and what is actually happening. Please add more detail for both of these. – Remko Popma Dec 05 '17 at 22:25
  • @RemkoPopma i deploy on tomcat 7 java 8 on window and but nothing save to file logback.xml /app/a.log %d{dd MMM yyyy HH:mm:ss.SSS} %-5level [%thread] [%logger:%line] %msg%n – amateur Dec 06 '17 at 14:41
  • Please add the configuration to the question. It’s too hard to read in a comment. – Remko Popma Dec 06 '17 at 14:42

0 Answers0