You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Volker Hartmann <ha...@ipe.fzk.de> on 2002/07/31 11:06:43 UTC

LF5 - Hack

Hello!

I like log4j very much. But I'm looking for a tool to
configure log4j graphically.
LF5 is nearby my vision.

However I was missing the following features:
- it makes no sense to select the levels over all categories.
  I want to select a level for special categories explicitly.
  (e.g. first class debug-level, second class only error-level,
   same for packages)
  I did a hack for this, maybe you'll like it.
  Selecting debug-level for a package, this is active for all
  subclasses, subpackages until you'll overwrite this.
  (Sure, no merit of my hack)

- I want to write my configuration in a file to load it
  also on later sessions by my application, using
  DOMConfigurator. So you can take profit from using
  methods like 'isDebugEnabled()'.

There are some special features I would like to see in LF5:
1. Maybe there should also be a option to clear level settings
   for a node. (Oops, should I forgot to do this? ;-) )
2. For further hacks, there should be a possibility to
   reset all Categories to level 'ALL'
3. The top feature was a upgrade to support SocketAppender.
   Disadvantage: You have no possibility to suppress any
   logs, but for this you can write a xml file and
   make it available for your application.

I had a little problem during my hack:
There is one possibility to get Information about the parameters
of the Appenders.
But PropertyGetter always returns with the following message:
log4j:WARN Failed to get value of property ...  !?
At the end I skipped these tests.

Maybe you enjoy my suggestions.

Yours sincerely
  Volker

 |                   Volker Hartmann
_|___________________________________________________________
 ######   FORSCHUNGSZENTRUM KARLSRUHE, Technik und Umwelt
 #        Institute for Data Processing and Electronics (IPE)
 #
_|___________________________________________________________
 ######   P.O. Box 3640, 76021 Karlsruhe, GERMANY
 #
 #
 |        email: Volker.Hartmann@ipe.fzk.de
 |        http://fuzzy.fzk.de/~hartmann/





Re: LF5 - Hack

Posted by Max Rydahl Andersen <ma...@eos.dk>.
This sounds very much like a feature that is present in Lumbermill
(http://traxel.com/lumbermill/) ?
Maybe we/you should look at how the ui is for this product, it is very
simple to use.

/max


----- Original Message -----
From: "Volker Hartmann" <ha...@ipe.fzk.de>
To: <lo...@jakarta.apache.org>
Sent: Wednesday, July 31, 2002 11:06 AM
Subject: LF5 - Hack


> Hello!
>
> I like log4j very much. But I'm looking for a tool to
> configure log4j graphically.
> LF5 is nearby my vision.
>
> However I was missing the following features:
> - it makes no sense to select the levels over all categories.
>   I want to select a level for special categories explicitly.
>   (e.g. first class debug-level, second class only error-level,
>    same for packages)
>   I did a hack for this, maybe you'll like it.
>   Selecting debug-level for a package, this is active for all
>   subclasses, subpackages until you'll overwrite this.
>   (Sure, no merit of my hack)
>
> - I want to write my configuration in a file to load it
>   also on later sessions by my application, using
>   DOMConfigurator. So you can take profit from using
>   methods like 'isDebugEnabled()'.
>
> There are some special features I would like to see in LF5:
> 1. Maybe there should also be a option to clear level settings
>    for a node. (Oops, should I forgot to do this? ;-) )
> 2. For further hacks, there should be a possibility to
>    reset all Categories to level 'ALL'
> 3. The top feature was a upgrade to support SocketAppender.
>    Disadvantage: You have no possibility to suppress any
>    logs, but for this you can write a xml file and
>    make it available for your application.
>
> I had a little problem during my hack:
> There is one possibility to get Information about the parameters
> of the Appenders.
> But PropertyGetter always returns with the following message:
> log4j:WARN Failed to get value of property ...  !?
> At the end I skipped these tests.
>
> Maybe you enjoy my suggestions.
>
> Yours sincerely
>   Volker
>
>  |                   Volker Hartmann
> _|___________________________________________________________
>  ######   FORSCHUNGSZENTRUM KARLSRUHE, Technik und Umwelt
>  #        Institute for Data Processing and Electronics (IPE)
>  #
> _|___________________________________________________________
>  ######   P.O. Box 3640, 76021 Karlsruhe, GERMANY
>  #
>  #
>  |        email: Volker.Hartmann@ipe.fzk.de
>  |        http://fuzzy.fzk.de/~hartmann/
>
>
>
>
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>