Project

General

Profile

« Previous | Next » 

Revision e895826c

Added by Andreas Kohlbecker almost 4 years ago

ref #7085 better logging configuration and improved init script

View differences:

src/main/resources/logback.xml
1 1
<!-- 
2
This is the default logfile for the cdm-sever. 
2
This is the default logging configuration file for the cdm-sever 
3
which  also serves as template for the test logging configuration.
4

  
5
The STDOUT should be disabled!!!!
3 6

  
4 7
Logback provides a system property variable (see ch.qos.logback.classic.util.ContextInitializer#CONFIG_FILE_PROPERTY) 
5 8
by which custom configuration files can be specified for production and test environments:
......
68 71

  
69 72
  <root level="WARN">
70 73
    <appender-ref ref="FILE" />
71
    <appender-ref ref="STDOUT" />
74
<!--     <appender-ref ref="STDOUT" /> -->
72 75
  </root>
73 76
</configuration>

Also available in: Unified diff