
Hi, Tried CAPS, and that doesn't work. I'm using 0.9.9 as I want to use the Eclipse plugin. Cheers, Neale ________________________________ From: logback-user-bounces@qos.ch [mailto:logback-user-bounces@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: Hi, 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 logged: <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <layout class="ch.qos.logback.classic.PatternLayout"> <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern> </layout> </appender> <root level="error"> <appender-ref ref="STDOUT" /> </root> </configuration> 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. Cheers, Neale Try using <root level="ERROR">, i.e. capital letters. Just a guess, HTH Regards, Joern. Click here <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== 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.