Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » [NEON] Setting output log level
[NEON] Setting output log level [message #1750772] Wed, 28 December 2016 14:06 Go to next message
Marco Dorfliger is currently offline Marco DorfligerFriend
Messages: 43
Registered: January 2015
Member
Sorry, quick newbie question. I want to change the log level output to DEBUG. Any tips?

I've been unable to find any reference of slf4j configuration files, system properties or the like. When I make changes to the logback.xml files, I don't notice any affect. How is the logging configured in Scout?

Cheers.
Re: [NEON] Setting output log level [message #1750774 is a reply to message #1750772] Wed, 28 December 2016 14:38 Go to previous messageGo to next message
Benjamin Schulte is currently offline Benjamin SchulteFriend
Messages: 34
Registered: December 2016
Member
You found the correct file, but probably not the correct setting. Wink

It is <root level="xxx"> in logback which is setting the log level.
Re: [NEON] Setting output log level [message #1750776 is a reply to message #1750774] Wed, 28 December 2016 15:04 Go to previous message
Marco Dorfliger is currently offline Marco DorfligerFriend
Messages: 43
Registered: January 2015
Member
Ah, yup that's it.

What threw me off is that I was testing the log-levels by running tests, which are configured elsewhere in the logback-test.xml file (which simply includes logback-test-scout.xml, which evidently exists somewhere).

By copying the contents of my logback.xml file into logback-test-scout.xml, I was able to configure my test log output also.

Cheers!

Previous Topic:[mars] how to let a table or groupbox take all remaining space
Next Topic:[NEON] AbstractBookMarkMenu
Goto Forum:
  


Current Time: Mon Dec 11 11:34:38 GMT 2017

Powered by FUDForum. Page generated in 0.01681 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software