shibboleth-dev - Re: origin logging config
Subject: Shibboleth Developers
List archive
- From: Walter Hoehn <>
- To: Noah Levitt <>
- Cc: Scott Cantor <>,
- Subject: Re: origin logging config
- Date: Thu, 29 Jan 2004 13:25:59 -0500
Seems to me we can have our cake and eat it too. Why not do something like this?
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:simpleType name="LevelType">
<xs:restriction base="xs:string">
<xs:enumeration value="OFF"/>
<xs:enumeration value="FATAL"/>
<xs:enumeration value="ERROR"/>
<xs:enumeration value="WARN"/>
<xs:enumeration value="INFO"/>
<xs:enumeration value="DEBUG"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Log4JConfigType">
<xs:restriction base="xs:string">
<xs:enumeration value="properties"/>
<xs:enumeration value="xml"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="Logging">
<xs:complexType>
<xs:choice>
<xs:sequence>
<xs:element name="ErrorLog" type="Log"
minOccurs="0"/>
<xs:element name="TransactionLog" type="Log"
minOccurs="0"/>
</xs:sequence>
<xs:element name="Log4JConfig">
<xs:complexType>
<xs:attribute name="type" type="Log4JConfigType" use="optional" default="properties"/>
<xs:attribute name="location"
type="xs:anyURI" use="required"/>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:complexType name="Log">
<xs:attribute name="level" type="LevelType" use="optional" default="WARN"/>
<xs:attribute name="location" type="xs:anyURI"
use="required"/>
</xs:complexType>
</xs:schema>
-Walter
Noah Levitt wrote:
Or I guess having a simple way that I can turn off and just use log4j itself
would be ok.
You'd have to configure your special settings in code, in
LogServ.java I believe, but it would be easy.
Noah
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- origin logging config, Noah Levitt, 01/27/2004
- RE: origin logging config, Scott Cantor, 01/28/2004
- Re: origin logging config, Noah Levitt, 01/29/2004
- Re: origin logging config, Walter Hoehn, 01/29/2004
- Re: origin logging config, Noah Levitt, 01/29/2004
- RE: origin logging config, Scott Cantor, 01/29/2004
- Re: origin logging config, Derek Atkins, 01/30/2004
- RE: origin logging config, Scott Cantor, 01/29/2004
- Re: origin logging config, Noah Levitt, 01/29/2004
- RE: origin logging config, Scott Cantor, 01/29/2004
- Re: origin logging config, Walter Hoehn, 01/29/2004
- Re: origin logging config, Noah Levitt, 01/29/2004
- RE: origin logging config, Scott Cantor, 01/28/2004
Archive powered by MHonArc 2.6.16.