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

ogspace-hq-webapp.0.3.0.source-code.log4j2-demo.xml Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--

    Logspace
    Copyright (c) 2015 Indoqa Software Design und Beratung GmbH. All rights reserved.
    This program and the accompanying materials are made available under the terms of
    the Eclipse Public License Version 1.0, which accompanies this distribution and
    is available at http://www.eclipse.org/legal/epl-v10.html.

-->
<Configuration status="INFO" debug="true">
  <Properties>
    <Property name="log-path">${sys:java.io.tmpdir}/logspace-demo/logs</Property>
    <Property name="log-level">ERROR</Property>
  </Properties>

  <Appenders>
    <Console name="Console" target="SYSTEM_OUT">
      <PatternLayout pattern="%d{ISO8601} [%t] %-5level %logger{1.} - %msg%n" />
    </Console>
    <Console name="ConsoleInit" target="SYSTEM_OUT">
      <PatternLayout pattern="%msg%n" />
    </Console>
    <RollingFile name="File" fileName="${sys:log-path}/logspace-hq.log" filePattern="${sys:log-path}/logspace-hq-%d{yyyy-MM-dd}-%i.log">
      <PatternLayout pattern="%d{ISO8601} [%t] %-5level %logger - %msg%n" />
      <Policies>
        <TimeBasedTriggeringPolicy />
        <SizeBasedTriggeringPolicy size="10 MB" />
      </Policies>
    </RollingFile>
  </Appenders>

  <Loggers>
    <!-- Always log basic initialization information -->
    <Logger name="com.indoqa.boot.AbstractIndoqaBootApplication_INIT" additivity="false" level="INFO">
      <AppenderRef ref="ConsoleInit" />
    </Logger>
    
    <Logger name="io.logspace.hq.solr.SolrEventService" additivity="true" level="INFO" />

    <Root level="${sys:log-level}">
      <AppenderRef ref="Console" />
      <AppenderRef ref="File" />
    </Root>
  </Loggers>
</Configuration>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy