Hi,
I wonder how can I get binaries for LogMF Companion.
All links available from page
http://logging.apache.org/log4j/companions/logmf/download.html are dead.
Any advice?
Thanks!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Put the hostname somewhere at app start into MDC:
MDC.put( hostname, myHostname );
The conversionPattern can resolve MDC values by using the switch %X{ID}. The
ID in my example is hostname (without quotes).
Heri
-Original Message-
From: Hans Schwaebli [mailto:[EMAIL PROTECTED]
Curt Arnold wrote:
Set root threshold to debug, attach both appenders to root. Write
custom filters for your rules and attach the filters to the appenders.
By custom filter, do you mean writing my own Java class implementing
org.apache.log4j.spi.Filter?
Is it really not possible to
Reasonable? While you make a good point about the seeming arbitrariness
of the default trigger, it really is pretty trivial code. In my case,
and I suspect many others, the desirable trigger for sending out recent
e-mail logs would be something entirely separate from log level. --Wayne
As Patrick mentioned, the code to implement this is really trivial with getters
and setters. The whole point behind trying to have this TriggerLevel is,
currently the TriggeringEventEvaluator does nothing other than comparing the
logging event level with some threshold (currently ERROR). Users
certainly it is true that the code for your own TriggeringEventEvaluator is
trivial. however my personal opinion is that being able to set the triggering
level is a requirement which is common enough to be implemented in the
SMTPAppender. e.g. setting it to FATAL because you only want to know
I had added the hostname as an MDC value at application startup to achieve that.
On 7/4/07, Hans Schwaebli [EMAIL PROTECTED] wrote:
How can I configure the log4j logging to add the hostname information into the
logging output?
Most naturally would be to find a conversion character for the
Hi,
I'm currently trying to use the Log4j UDPAppender in the version 1.3.
Here is my Appender configuration:
appender name=UDP class=org.apache.log4j.net.UDPAppender
layout class=org.apache.log4j.PatternLayout
/layout
/appender
After executing my application I'm geting
On 7/5/07, Mike Wilkinson [EMAIL PROTECTED] wrote:
Do all of the threads also write to the same file?
Yes.
Would there be any issue with multiple threads writing to the same file?
No.
On 7/5/07, James Stauffer [EMAIL PROTECTED] wrote:
and if you go the latter route, do you have to
On Jul 5, 2007, at 3:06 AM, [EMAIL PROTECTED] wrote:
Hi,
I wonder how can I get binaries for LogMF Companion.
All links available from page http://logging.apache.org/log4j/
companions/logmf/download.html are dead.
Any advice?
Thanks!
The links were to where logmf would be once it had
The project I am working on is very multi - threaded ( 500 threads) and
I have implemented the SocketHubAppender to send all the events to
Chainsaw.
Everything works fine (most times) but occasionally I get the following
stack trace:
java.lang.ArrayIndexOutOfBoundsException: 0 = 0
at
I've filed bug 42823 (http://issues.apache.org/bugzilla/show_bug.cgi?
id=42823) for this thread and suggest that further discussion take
place either in the bug report or on log4j-dev as it has moved beyond
just a usage question. The subject line should be changed on any new
thread since
This is a bug in UDPAppender - I'm planning on committing a fix to this soon
(before next Monday, hopefully).
Scott Deboy
COMOTIV SYSTEMS
111 SW Columbia Street Ste. 950
Portland, OR 97201
Telephone: 503.224.7496
Cell: 503.997.1367
Fax:503.222.0185
[EMAIL
Can you post a full stack trace of this? Which log4j version are you
using? Neither the latest 1.2.x series or from trunk appear to match
up the line #'s.
Perhaps you are using an older 1.2, because in the latest 1.2 version
of SocketHubAppender that exception is not logged (there is a
14 matches
Mail list logo