![]() Main page FAQ HOWTO Components Page Index myWMS News ![]() Mailinglist ![]() lexicon ![]() Recent Changes WikiEtiquette Find pages Unused pages Undefined pages Impressum ![]()
Set your name in
UserPreferences Referenced by
JSPWiki v2.2.33
i18n support |
Table of ContentsThe logProviders as elements of the XML-Dokument:
The DTD of the XML-Dokument:<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE providerListRoot [ <!ELEMENT Email EMPTY> <!ATTLIST Email author CDATA #REQUIRED name CDATA #REQUIRED adresses CDATA #REQUIRED> <!ELEMENT Logfile EMPTY> <!ATTLIST Logfile author CDATA #REQUIRED name CDATA #REQUIRED pattern CDATA #REQUIRED> <!ELEMENT Filter (StringToGrep|providerList|Email|Logfile|Filter|NamespaceFilter|Ringbuffer)*> <!ATTLIST Filter author CDATA #REQUIRED name CDATA #REQUIRED LogLevel CDATA #REQUIRED> <!ELEMENT providerList (providerList|Email|Logfile|Filter|NamespaceFilter|Ringbuffer)*> <!ATTLIST providerList author CDATA #REQUIRED name CDATA #REQUIRED> <!ELEMENT NamespaceFilter (providerList|Email|Logfile|Filter|NamespaceFilter|Ringbuffer)*> <!ATTLIST NamespaceFilter namespaces CDATA #REQUIRED author CDATA #REQUIRED name CDATA #REQUIRED collect CDATA #REQUIRED> <!ELEMENT providerListRoot (providerList|Email|Logfile|Filter|NamespaceFilter|Ringbuffer)*> <!ELEMENT Ringbuffer EMPTY> <!ATTLIST Ringbuffer author CDATA #REQUIRED name CDATA #REQUIRED capacity CDATA #REQUIRED> <!ELEMENT StringToGrep (#PCDATA)> ]> Examples for Logging-Configuration:
default#de.mywms.log.LogSingleton.Namespaces=de.mywms.clearing;de.mywms.communication;de.mywms.config;de.mywms.datastore;de.mywms.log;de.mywms.optimization;de.mywms.statistic;de.mywms.ui;de.mywms.util default#de.mywms.log.LogSingleton.NamespacesEnable=false default#de.mywms.log.LogSingleton.LoglevelThreshold=1 default#de.mywms.log.LogSingleton.Logfile=true default#de.mywms.log.LogSingleton.LogfileName=defaultThe Logfile "default" contains all LogObjects: <fakiri@taylor>:2005/08/26 15:27:05.389 UTC [INFORMATION|de.mywms.log.Logfile@main] [Logfile()]: Logfile startet <fakiri@taylor>:2005/08/26 15:27:05.429 UTC [INFORMATION|de.mywms.log.LogSingleton@main] [setTimeZone()]: time zone ID is: UTC <fakiri@taylor>:2005/08/26 15:27:05.830 UTC [INFORMATION|LogConfigXML@main] [startDocument]: start of the parse XML-Doc: ConfigTree <fakiri@taylor>:2005/08/26 15:27:06.200 UTC [INFORMATION|LogConfigXML@main] [endDocument]: end of the parse XML-Doc: ConfigTree <fakiri@taylor>:2005/08/26 15:27:12.390 UTC [DEBUG|de.mywms.config.Persistor@ConfigPersistor] [run()]: the configuration was written <fakiri@taylor>:2005/08/26 15:27:12.400 UTC [INFORMATION|de.mywms.communication.tcpip.TcpipServerChannel@main: TCPIP-ServerChannel at 49999] [run()]: serving at port: 49999 <fakiri@taylor>:2005/08/26 15:27:12.430 UTC [INFORMATION|de.mywms.communication.tcpip.TcpipServerChannel@main: TCPIP-ServerChannel at 49999] [run()]: accepting connections at port: 49999
default#de.mywms.log.LogSingleton.ProviderTree=<providerListRoot><NamespaceFilter name='NSFilter_L2' author='taieb' collect='false' namespaces='de.mywms.communication'><Logfile name='File2' author='taieb' pattern='logfile2'/></NamespaceFilter></providerListRoot>The content of the Logfile "File2" shows so: <fakiri@taylor>:2005/08/26 15:27:06.160 UTC [INFORMATION|de.mywms.log.Logfile@main] [Logfile()]: Logfile startet <fakiri@taylor>:2005/08/26 15:27:06.200 UTC [INFORMATION|LogConfigXML@main] [endDocument]: end of the parse XML-Doc: ConfigTree <fakiri@taylor>:2005/08/26 15:27:12.390 UTC [DEBUG|de.mywms.config.Persistor@ConfigPersistor] [run()]: the configuration was written
default#de.mywms.log.LogSingleton.ProviderTree=<providerListRoot><Filter name='Filter-L2' author='taieb' LogLevel='2'><Logfile name='File3' author='taieb' pattern='logfile3'/></Filter></providerListRoot>The content of the Logfile "File3" shows so: <fakiri@taylor>:2005/08/26 16:07:49.765 UTC [INFORMATION|LogConfigXML@main] [endDocument]: end of the parse XML-Doc: ConfigTree <fakiri@taylor>:2005/08/26 16:07:55.924 UTC [INFORMATION|de.mywms.communication.tcpip.TcpipServerChannel@main: TCPIP-ServerChannel at 49999] [run()]: serving at port: 49999 <fakiri@taylor>:2005/08/26 16:07:55.964 UTC [INFORMATION|de.mywms.communication.tcpip.TcpipServerChannel@main: TCPIP-ServerChannel at 49999] [run()]: accepting connections at port: 49999
default#de.mywms.log.LogSingleton.ProviderTree=<providerListRoot><Filter name='Filter_L2' author='taieb' LogLevel='1'><StringToGrep>ConfigTree</StringToGrep><StringToGrep>the configuration</StringToGrep><Logfile name='File4' author='taieb' pattern='logfile3'/></Filter></providerListRoot>The content of the Logfile "File4" shows so: <fakiri@taylor>:2005/08/26 15:27:06.180 UTC [INFORMATION|de.mywms.log.Logfile@main] [Logfile()]: Logfile startet <fakiri@taylor>:2005/08/26 15:27:06.200 UTC [INFORMATION|LogConfigXML@main] [endDocument]: end of the parse XML-Doc: ConfigTree <fakiri@taylor>:2005/08/26 15:27:12.390 UTC [DEBUG|de.mywms.config.Persistor@ConfigPersistor] [run()]: the configuration was written
|
||||||||||||||||||||