Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
jvx:common:util:log4j [2020/01/24 09:27]
admin
jvx:common:util:log4j [2020/01/24 09:31]
admin
Line 22: Line 22:
 log4j.appender.stdout.layout.ConversionPattern=%p\t%d{ISO8601}\t%r\t%c\t[%t]\t%m%n log4j.appender.stdout.layout.ConversionPattern=%p\t%d{ISO8601}\t%r\t%c\t[%t]\t%m%n
 </​file>​ </​file>​
 +
 +or
  
 <file xml log4j2.xml>​ <file xml log4j2.xml>​
Line 52: Line 54:
 This system property works in all JVx versions. JVx before 2.8.5 also had different configuration options: This system property works in all JVx versions. JVx before 2.8.5 also had different configuration options:
  
-config.xml ​of your server zone:+== config.xml ​== 
 + 
 +(server zone)
  
 <file xml config.xml>​ <file xml config.xml>​
Line 58: Line 62:
  
 <​server>​ <​server>​
 +   ...
   ​   ​
   <​logfactory>​com.sibvisions.util.log.log4j.Log4jLoggerFactory</​logfactory>​   <​logfactory>​com.sibvisions.util.log.log4j.Log4jLoggerFactory</​logfactory>​
- 
-  ... 
 </​server>​ </​server>​
 </​file>​ </​file>​
  
-application.xml ​+== application.xml ​== 
  
-<​file ​script>+<​file ​xml application.xml>
 <​application>​ <​application>​
   ...   ...
 +  ​
   <​Launcher.logfactory>​com.sibvisions.util.log.log4j.Log4jLoggerFactory</​Launcher.logfactory>​   <​Launcher.logfactory>​com.sibvisions.util.log.log4j.Log4jLoggerFactory</​Launcher.logfactory>​
 </​application>​ </​application>​
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information