Child pages
  • Newspaper statistics - release 1.3

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Newspaper process monitor

The statistics module consists of two parts

...

http://sbforge.org/nexus/content/repositories/releases/dk/statsbiblioteket/newspaper/newspaper-statistics/1.3/newspaper-statistics-1.3-package.tar.gz

Configuration

Deployment descriptor

Code Block
<Context>
    <!-- Logback config loading -->
	<Parameter name="CONFIGDIR" value="path/to/dir/that/contains/logback.xml/" override="false"/>
    <!-- Application configuration -->
	<Parameter name="contextConfigLocation" value="file://${user.home}/path/to/ApplicationContext.xml" override="false"/>
</Context>

 

Logback.xml example

Code Block
<configuration>
  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <file>logs/processMonitor.log</file>
    <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
      <!-- daily rollover -->
      <fileNamePattern>logs/processMonitor.%d{yyyy-MM-dd}.log</fileNamePattern>

      <!-- keep 30 days' worth of history -->
      <maxHistory>30</maxHistory>
    </rollingPolicy>

    <append>true</append>
    <encoder>
      <pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
    </encoder>
  </appender>
        
  <root level="INFO">
    <appender-ref ref="FILE" />
  </root>
</configuration>

 

Application configuration file

...

Highlevel description:

https://github.com/statsbiblioteket/newspaper-statistics/blob/newspaper-statistics-1.3/README.md

Changelog

Change log can be seen on github:

https://raw.githubgithubusercontent.com/statsbiblioteket/newspaper-digitisation-process-monitorstatistics/newspaper-digitisationstatistics-process-monitor-1.43/CHANGELOG.md