janus.web.config
Class Log4jConfig

java.lang.Object
  extended by janus.web.config.Log4jConfig

public class Log4jConfig
extends Object

Initialisiere das Logging. Eine kurze Einführung zu Log4j findet sich hier.
Homepage des Log4-Projektes: http://logging.apache.org/log4j


Method Summary
static void cleanupLogs()
          Aufrämen der Logdateien.
static void configure(Properties props)
          Initialisiere das Logging.
static Logger[] getLoggers()
          Ermittle alle konfigurierten Logger
static String getLogPath()
          Ermittle den Log-Pfad
static Properties getProperties()
          Ermittle die Properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

cleanupLogs

public static void cleanupLogs()
Aufrämen der Logdateien. Die Dateien werden wöchentlich in eigene Verzeichnisse verschoben


configure

public static void configure(Properties props)
Initialisiere das Logging.

Parameters:
props - Konfiguration im Property-Format

getLoggers

public static Logger[] getLoggers()
Ermittle alle konfigurierten Logger


getLogPath

public static String getLogPath()
Ermittle den Log-Pfad


getProperties

public static Properties getProperties()
Ermittle die Properties



Copyright © 2008 MvC Systemsoftware.