[logback-user] Can't set level (logback.classic-0.9.9)

Neale Upstone Upstone.N at cambridgeassessment.org.uk
Mon Jul 13 10:49:15 CEST 2009


Tried CAPS, and that doesn't work.  I'm using 0.9.9 as I want to use the
Eclipse plugin.



From: logback-user-bounces at qos.ch [mailto:logback-user-bounces at qos.ch]
On Behalf Of Joern Huxhorn
Sent: 10 July 2009 21:30
To: logback users list
Subject: Re: [logback-user] Can't set level

On 10.07.2009, at 18:03, Neale Upstone wrote:

	I've been trying the examples at
http://logback.qos.ch/manual/configuration.html and the level attribute
is always ignored.
	i.e. the following should ensure that I only get error messages
	  <appender name="STDOUT"
	    <layout class="ch.qos.logback.classic.PatternLayout">
	      <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
	  <root level="error">
	    <appender-ref ref="STDOUT" />
	This is quite frustrating, especially as there is no DTD (which
would also provide documentation and the ability to edit config files
confidently in an XML editor, as is simple with Spring configs).
	Can anyone help.

Try using  <root level="ERROR">, i.e. capital letters. 
Just a guess, HTH


Click here
Vr5Eaf3AZ9+bAWOuwQUexxiaOch4pXG936kDNW0+5ADKWw==>  to report this email
as spam.

If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination or copying of this communication and its attachments is strictly prohibited. 
If you have received this communication and its attachments in error, please return the original message and attachments to the sender using the reply facility on e-mail. 
Internet communications are not secure and therefore Cambridge Assessment (the brand name for the University of Cambridge Local Examinations Syndicate, the constituent elements of which are CIE, ESOL and OCR [Oxford Cambridge and RSA Examinations is a Company Limited by Guarantee Registered in England.  Registered office: 1 Hills Road, Cambridge CB1 2EU.  Company number: 3484466]) does not accept legal responsibility for the contents of this message. 
Any views or opinions presented are solely those of the author and do not necessarily represent those of Cambridge Assessment unless otherwise specifically stated.  
The information contained in this email may be subject to public disclosure under the Freedom of Information Act 2000. Unless the information is legally exempt from disclosure, the confidentiality of this email and your reply cannot be guaranteed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20090713/09b573bb/attachment.htm>

More information about the Logback-user mailing list