Skip to content
Snippets Groups Projects
Commit 2ddeeb06 authored by Terry D. Norbraten's avatar Terry D. Norbraten
Browse files

[Terry N.] format edits

parent acb64567
No related branches found
No related tags found
No related merge requests found
...@@ -44,6 +44,7 @@ import java.util.concurrent.TimeUnit; ...@@ -44,6 +44,7 @@ import java.util.concurrent.TimeUnit;
import mil.army.usareur.g3.mcsd.CoTUtils.*; import mil.army.usareur.g3.mcsd.CoTUtils.*;
import mil.army.usareur.g3.mcsd.CoTExample.CustomCoTparser; import mil.army.usareur.g3.mcsd.CoTExample.CustomCoTparser;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;
/** CoT message receiver (UPD, TCP) demonstration. This will start a CoT PLI /** CoT message receiver (UPD, TCP) demonstration. This will start a CoT PLI
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN"> <Configuration xmlns="https://logging.apache.org/xml/ns"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://logging.apache.org/xml/ns
https://logging.apache.org/xml/ns/log4j-config-2.xsd">
<Properties> <Properties>
<Property name="CONSOLE_PATTERN">%highlight{%-5level}{FATAL=bg_red, ERROR=red, WARN=yellow, INFO=green} %style{%d{yyyy MMM dd HH:mm:ss 'GMT'Z}}{blue} [%t] %C:%L - %m%n</Property> <Property name="LOG_PATTERN" value="[%-5level] %d{yyyy MMM dd HH:mm:ss 'GMT'Z} [%t] %C:%L - %m%n"/>
<Property name="LOG_PATTERN">[%-5level] %d{yyyy MMM dd HH:mm:ss 'GMT'Z} [%t] %C:%L - %m%n</Property> <Property name="CONSOLE_PATTERN" value="%highlight{%-5level}{FATAL=bg_red, ERROR=red, WARN=yellow, INFO=green} %style{%d{yyyy MMM dd HH:mm:ss 'GMT'Z}}{blue} [%t] %C:%L - %m%n"/>
</Properties> </Properties>
<Appenders> <Appenders>
<Console name="Console" target="SYSTEM_OUT"> <Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="${CONSOLE_PATTERN}"/> <PatternLayout pattern="${CONSOLE_PATTERN}"/>
</Console> </Console>
<RollingFile name="RollingLogFile" fileName="logs/error.log.0" filePattern="logs/error.log.%i" > <RollingFile name="RollingLogFile" fileName="logs/error.0.log" filePattern="logs/error.%i.log" >
<LevelRangeFilter minLevel="FATAL" maxLevel="ERROR" onMatch="ACCEPT" onMismatch="DENY"/> <LevelRangeFilter minLevel="FATAL" maxLevel="ERROR" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="${LOG_PATTERN}"/> <PatternLayout pattern="${LOG_PATTERN}"/>
<Policies> <Policies>
<OnStartupTriggeringPolicy/> <OnStartupTriggeringPolicy/>
</Policies> </Policies>
<DefaultRolloverStrategy max="20"/> <!--<DefaultRolloverStrategy max="20" fileIndex="min"/>-->
</RollingFile> </RollingFile>
<RollingFile name="InfoLog" fileName="logs/cot.log.0" filePattern="logs/cot.log.%i"> <RollingFile name="InfoLog" fileName="logs/cot.0.log" filePattern="logs/cot.%i.log">
<LevelRangeFilter minLevel="WARN" maxLevel="INFO" onMatch="ACCEPT" onMismatch="DENY"/> <LevelRangeFilter minLevel="WARN" maxLevel="INFO" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="${LOG_PATTERN}"/> <PatternLayout pattern="${LOG_PATTERN}"/>
<Policies> <Policies>
<OnStartupTriggeringPolicy/> <OnStartupTriggeringPolicy/>
</Policies> </Policies>
<DefaultRolloverStrategy max="20" fileIndex="min"/> <!--<DefaultRolloverStrategy max="20" fileIndex="min"/>-->
</RollingFile> </RollingFile>
<RollingFile name="DebugLog" fileName="logs/debug.log.0" filePattern="logs/debug.log.%i"> <RollingFile name="DebugLog" fileName="logs/debug.0.log" filePattern="logs/debug.%i.log">
<LevelRangeFilter minLevel="DEBUG" maxLevel="DEBUG" onMatch="ACCEPT" onMismatch="DENY"/> <LevelRangeFilter minLevel="DEBUG" maxLevel="DEBUG" onMatch="ACCEPT" onMismatch="DENY"/>
<PatternLayout pattern="${LOG_PATTERN}"/> <PatternLayout pattern="${LOG_PATTERN}"/>
<Policies> <Policies>
<OnStartupTriggeringPolicy/> <OnStartupTriggeringPolicy/>
</Policies> </Policies>
<DefaultRolloverStrategy max="10"/> <!--<DefaultRolloverStrategy max="10"/>-->
</RollingFile> </RollingFile>
</Appenders> </Appenders>
<Loggers> <Loggers>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment