I am running Chainsaw using the supplied batch file, and am getting
the dreaded "pluginDirectory cannot be null, yada yada" error message
on loading Chainsaw. Here is my setup:
C:\bin\chainsaw>dir
Volume in drive C has no label.
Volume Serial Number is C400-7795
Directory of C:\bin\chainsaw
Hi all,
I have to face this problem. I have a product (servlet+webservices)that
uses Log4j and I got a new requirement. The system sends a mail when an
application exception is thrown, now I'm asked to include all the
logging information generated since the servlet started processing the
r
How much data could that be?
On 8/30/06, Giovanni Cuccu - CUP2000 <[EMAIL PROTECTED]> wrote:
Hi all,
I have to face this problem. I have a product (servlet+webservices)that
uses Log4j and I got a new requirement. The system sends a mail when an
application exception is thrown, now I'm as
I estimate some around 50kb of logging (I took the number extracting a
subset of lines from the file containing the logs). The logging info
could be cleared as the invocation ends (via an explicit call) and we
have about 100 concurrent executions.
Thanks,
Giovanni
How much data could
You could maybe make an appender that adds the event to the MDC and
then have your email appender include the MDC. Be sure to clear the
MDC at the end of the request. That seems like it might be the
easiest solution but someone else might have a better idea.
On 8/30/06, Giovanni Cuccu - CUP2000
I've looked through the archives and haven't really found an answer to
my problem.
I'm logging to a MySQL database using the JDBCAppender. I've written
practically no custom code on top of the log4j module, just a loading
and
unloading of the configuration, and I'm really not having too many
I do not use an email appender, but a java method.If I correctly
understand your proposal I have to write a custom appender anyway ,i.e.
standard log4j distribution does not provide a solution for my problem,
is it right?
Giovanni Cuccu
You could maybe make an appender that adds the event to t
How do you send emails right now? I can't think of a way to do this
without writing an appender. I think the SMTPAppender send some of
the logs before the error but probably not exactly what you want.
On 8/30/06, Giovanni Cuccu - CUP2000 <[EMAIL PROTECTED]> wrote:
I do not use an email appende
I send mail using a custom class. my code looks like:
try {
.
}catch (Exception e) {
String content=//create mail body basing on contxt info and
exception
Mailer.sendMail(content);
}
sendMail spawns a thread in order to do an async send.
I looked at SMTP appender and it se
(I'm trying a different tack on this question, because I feel certain
that there is a simple answer to my problem and it is driving me
insane.)
When I run Chainsaw, I get this error:
pluginDirectory cannot be null, and it must exist and must be
readable, using the normal Classloader
What exact
Some receivers available via Chainsaw have third party jar dependencies
(for example: DBReceiver, CustomSQLDBReceiver,
VFSLogFilePatternReceiver).
Chainsaw is available via Web Start, and to support those receivers with
third party jar dependencies, we needed to provide a mechanism to load
those c
LogFilePatternReceiver can only load regular text log files, not
XML-based log files.
To load XML-based load files, you can use the 'file-load log4j file'
menu, or pull the source for Log4j 1.3, build it and use
org.apache.log4j.xml.LogFileXMLReceiver (not yet available from the Web
Start distri
Sorry, haven't seen that. Socket timeout related?
Do you have the same problem with the log4j 1.2.8 version of Chainsaw?
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of BoD
Sent: Tuesday, August 29, 2006 1:42 AM
To: log4j-user@logging.apache.org
Subject: Re: Chainsaw
On Wed, Aug 30, 2006 at 12:02:31PM -0700, Scott Deboy wrote:
>
> The mechanism we chose was to create a custom classloader which can load
> classes from any jar in the $user.dir/.chainsaw/plugins directory.
Ah, I didn't catch until now the existence of that directory. I
appreciate you pointing i
If I may ask, why is this step necessary for using third-party
plugins? The warning that is popped up when this box is checked makes
it clear that it isn't to be checked lightly.
Apache projects are not allowed to ship non-Apache jars as part of a
distribution, unless the license for those 3
15 matches
Mail list logo