In log4j 1.3, there is a mechanism for defining repository-wide properties,
which could then be added to your pattern layout.
http://logging.apache.org/log4j/docs/api-1.3/org/apache/log4j/spi/LoggerRepositoryEx.html
There is also PropertyFilter, which allows you add properties to all events
pro
Hello,
Few days back, I had posted a message asking, if there is a conversion
character that I can specify in the Patter Layout to log the IP Address or
host name of the system in which the logger is instantiated.
So far, I haven't got any reply. Could someone confirm, which is the best
way
Hello!
Don't know what you planning to do, but if you want to analyse you logs
in realtime and display the information in GUI, my suggestion is to look
for "chainsaw", a very nice tool for exactly doing this. If you have
other plans: Chainsaw is open source, so I think you can find something
i
Can you give more details about how and why you want to change it? Do
you want to set it only once per run (then use system properties) or
do you want to change it multiple times per run (you may have to write
your own appender).
On 5/23/06, Kailash KN <[EMAIL PROTECTED]> wrote:
Hi all,
I
hi everybody..
i have to get something like this console output in two (or more) separate
strings.
0 [main] DEBUG test.Hello - Hello world.
10 [main] INFO test.Hello - What a beatiful day.
the goal is to send the entire lines above, separately, to the
application which would then display that i