Unfortunately at this stage there is no support for custom levels inside Chainsaw v2.

Inside Chainsaw there is 2 classes that relate to displaying levels:

* TableColorizingRenderer - this holds a Map of Levels->Icon, which is generated from..
* LevelIconFactory - this is where the Map is built up. At the moment TRACE shares the DEBUG icon.


What happens if you make Chainsaw display the Level as text instead of Icons ? Does it come out correctly?

Paul

alex mazour wrote:

Hi guys,

I have a problem where Chainsaw 2 will not display custom log level correctly. It displays the actual log message, but log level is wrong, i.e. DEBUG instead of custom log level. I did find a brief desription of how to make Chainsaw 2 to display custom log level in the email from Scott Deboy posted last year. It talks about writing a custom Level class and XmlDecoder.

I wonder if anythind has changed since than wrt custom log level display in Chaninsaw 2. If not, I'd appreciate any details on how to configure Chainsaw 2 to display custom log level.

Thanks in advance,
Alex Mazour


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to