update logging
This commit is contained in:
parent
c329e73af0
commit
015d586bb2
3 changed files with 4 additions and 25 deletions
|
@ -22,7 +22,7 @@ import ch.ethz.seb.sebserver.webservice.WebserviceInfo;
|
|||
@Component
|
||||
public class SEBServerInit {
|
||||
|
||||
public static final Logger INIT_LOGGER = LoggerFactory.getLogger("SEB SERVER INIT");
|
||||
public static final Logger INIT_LOGGER = LoggerFactory.getLogger("ch.ethz.seb.SEB_SERVER_INIT");
|
||||
|
||||
private final Environment environment;
|
||||
private final WebserviceInfo webserviceInfo;
|
||||
|
|
|
@ -29,7 +29,8 @@ server.servlet.session.tracking-modes=cookie
|
|||
|
||||
### Logging
|
||||
# Default logging level in the form "logging.level" + namespace=LEVEL
|
||||
logging.level.ch=WARN
|
||||
logging.level.ROOT=WARN
|
||||
logging.level.ch=INFO
|
||||
# Log file name and location
|
||||
logging.file=/sebserver/log/sebserver.log
|
||||
|
||||
|
|
|
@ -17,31 +17,10 @@
|
|||
|
||||
<springProfile name="dev">
|
||||
|
||||
<root level="INFO" additivity="true">
|
||||
<root level="DEBUG" additivity="true">
|
||||
<appender-ref ref="STDOUT" />
|
||||
<appender-ref ref="FILE" />
|
||||
</root>
|
||||
|
||||
<Logger name="ch.ethz.seb.sebserver.gui" level="INFO" additivity="true" />
|
||||
<Logger name="ch.ethz.seb.sebserver.webservice" level="INFO" additivity="true" />
|
||||
<Logger name="org.apache.ibatis.datasource" level="INFO" additivity="true" />
|
||||
<Logger name="org.mybatis" level="INFO" additivity="true" />
|
||||
<Logger name="org.mybatis.generator" level="INFO" additivity="true" />
|
||||
<Logger name="org.springframework.boot" level="INFO" additivity="true" />
|
||||
<Logger name="org.springframework.security" level="INFO" additivity="true" />
|
||||
|
||||
<Logger name="org.springframework.security.oauth2.client.OAuth2RestTemplate" level="DEBUG" additivity="true" />
|
||||
|
||||
<Logger name="org.springframework.context.support.ResourceBundleMessageSource" level="DEBUG" additivity="true" />
|
||||
|
||||
<Logger name="org.springframework.web" level="INFO" additivity="true" />
|
||||
<Logger name="org.springframework.security.oauth2" level="INFO" additivity="true" />
|
||||
|
||||
<Logger name="ch.ethz.seb.sebserver.webservice.servicelayer.sebconfig" level="INFO" additivity="true" />
|
||||
<Logger name="ch.ethz.seb.sebserver.webservice.servicelayer.session" level="DEBUG" additivity="true" />
|
||||
<Logger name="ch.ethz.seb.sebserver.webservice.servicelayer.lms.impl.edx" level="DEBUG" additivity="true" />
|
||||
|
||||
<Logger name="ch.ethz.seb.sebserver.webservice.servicelayer.sebconfig.impl.SebExamConfigServiceImpl" level="TRACE" additivity="true" />
|
||||
|
||||
</springProfile>
|
||||
|
||||
|
@ -66,7 +45,6 @@
|
|||
<springProfile name="prod">
|
||||
|
||||
<root level="INFO" additivity="true">
|
||||
<appender-ref ref="STDOUT" />
|
||||
<appender-ref ref="FILE" />
|
||||
</root>
|
||||
|
||||
|
|
Loading…
Reference in a new issue