All Downloads are FREE. Search and download functionalities are using the official Maven repository.

akes.ctakes-dockhand.6.0.0.source-code.log4j_not.xml Maven / Gradle / Ivy

The newest version!
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!--

    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.

-->
<log4j:configuration debug="true"
                     xmlns:log4j='http://jakarta.apache.org/log4j/'>
   <appender name="consoleAppender" class="org.apache.log4j.ConsoleAppender">
      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%d{dd MMM yyyy HH:mm:ss} %5p %c{1} - %m%n"/>
      </layout>
   </appender>
   <appender name="fileAppender" class="org.apache.log4j.RollingFileAppender">
      <param name="append" value="false"/>
      <param name="file" value="out/ctakes.log"/>
      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
      </layout>
   </appender>
   <!-- noEolAppender  prints a message without prefix or newline -->
   <appender name="noEolAppender" class="org.apache.log4j.ConsoleAppender">
      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%m"/>
      </layout>
   </appender>
   <!-- eolAppender  prints a message and newline without prefix -->
   <appender name="eolAppender" class="org.apache.log4j.ConsoleAppender">
      <layout class="org.apache.log4j.PatternLayout">
         <param name="ConversionPattern" value="%m%n"/>
      </layout>
   </appender>
   <!-- ProgressAppender is useful for dynamically logging progress dots ... -->
   <logger name="ProgressAppender" additivity="false">
      <level value="INFO"/>
      <appender-ref ref="noEolAppender"/>
   </logger>
   <!-- ProgressDone is useful for ending the dynamic logging of progress dots ... -->
   <logger name="ProgressDone" additivity="false">
      <level value="INFO"/>
      <appender-ref ref="eolAppender"/>
   </logger>
   <root>
      <level value="INFO"/>
      <appender-ref ref="consoleAppender"/>
      <!--  <appender-ref ref="fileAppender" /> -->
   </root>
</log4j:configuration> 




© 2015 - 2025 Weber Informatics LLC | Privacy Policy