mirror of
https://github.com/corda/corda.git
synced 2024-12-27 08:22:35 +00:00
195d69d0dc
Adding an extra logger to printBasicNodeInfo in both console and log file, respectively. Also, node's legal name is now printed to console as well.
27 lines
968 B
XML
27 lines
968 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Configuration status="info">
|
|
<Properties>
|
|
<Property name="defaultLogLevel">info</Property>
|
|
</Properties>
|
|
<Appenders>
|
|
<Console name="Console-Appender" target="SYSTEM_OUT">
|
|
<PatternLayout pattern="[%-5level] %d{HH:mm:ss.SSS} [%t] %c{2}.%M - %msg%n" />
|
|
</Console>
|
|
<!-- Required for printBasicInfo -->
|
|
<Console name="Console-Appender-Println" target="SYSTEM_OUT">
|
|
<PatternLayout pattern="%msg%n" />
|
|
</Console>
|
|
</Appenders>
|
|
<Loggers>
|
|
<Root level="info">
|
|
<AppenderRef ref="Console-Appender"/>
|
|
</Root>
|
|
<Logger name="net.corda" level="${sys:defaultLogLevel}" additivity="false">
|
|
<AppenderRef ref="Console-Appender"/>
|
|
</Logger>
|
|
<Logger name="BasicInfo" additivity="false">
|
|
<AppenderRef ref="Console-Appender-Println"/>
|
|
</Logger>
|
|
</Loggers>
|
|
</Configuration>
|