Hi,
I have a library that allows various components written in different
programming languages (perl, python, java) to talk to each other, and I'd
like to capture the different log messages from each component and display
them in a centralized GUI application. I wonder if the following is
possib
I don't have experience with filters. Check the javadocs and archives.
On 11/29/06, garima015 <[EMAIL PROTECTED]> wrote:
Can you please give me some more idea on how to create that filter..and how
this will be called
thanks for ur immediate reply
James Stauffer wrote:
>
> You could probably
Hi, I don't have much experience, but my approach would be to write a custom
appender (used with threshold set to ERROR) that keeps a list of messages, and
has a timer that checks every second if there are any errors, sends a system
alert (at most one/second, showing the number of errors and the
I try it, but I get this error "
log4j:WARN No such property [maxBackupIndex] in
org.apache.log4j.DailyRollingFileAppender.
I put this line in the log4j properties file.
log4j.appender.ACCESS.MaxBackupIndex=7
On 11/28/06, Shuh Chang <[EMAIL PROTECTED]> wrote:
I think you can set the MaxBackup
Can you please give me some more idea on how to create that filter..and how
this will be called
thanks for ur immediate reply
James Stauffer wrote:
>
> You could probably do that by creating a filter on the appender.
>
> On 11/29/06, garima015 <[EMAIL PROTECTED]> wrote:
>>
>> Say if 100 alerts
Can you please give me some more idea on how to create the filter on top of
that... and how that will be called
thanks for ur immediate reply
James Stauffer wrote:
>
> You could probably do that by creating a filter on the appender.
>
> On 11/29/06, garima015 <[EMAIL PROTECTED]> wrote:
>>
>>
Being more specific...lets say i am generating alert when ever logger.fatal
is reached .Now i have 100 transaction per second all got failed due to some
single reason.So all 100 transaction will reach that logger.fatal code and
all will generate an email corresponding to it.I want to limit that nu
You could probably do that by creating a filter on the appender.
On 11/29/06, garima015 <[EMAIL PROTECTED]> wrote:
Say if 100 alerts are getting raised per second i want to limit them to 10 or
some number.As i have to page alert to production team i dont want to send
100 page for some issue in
Say if 100 alerts are getting raised per second i want to limit them to 10 or
some number.As i have to page alert to production team i dont want to send
100 page for some issue in such a short interval of time.
James Stauffer wrote:
>
> Are you saying that when there are a lot of events you o
Are you saying that when there are a lot of events you only want a few
events to make to the appender so that you aren't sent so many alerts?
On 11/29/06, garima015 <[EMAIL PROTECTED]> wrote:
I have a requirement where 100 transactions are fired per second.
Current application is using Log4J fo
I have a requirement where 100 transactions are fired per second.
Current application is using Log4J for generating the System alerts.
I got to know that whenever the logger.error is used log4j is being used to
generate the alert while logger.error method is used.
I want to restrict the number
The logger name is the new name for "category" so %c will give the logger name.
On 11/29/06, mas <[EMAIL PROTECTED]> wrote:
Lets say I'm in an application and I want to specify a in a class logger such
as follows:
> ...
> Logger log = Logger.getLogger("UseCase1");
> ...
>
Now lets suppo
Lets say I'm in an application and I want to specify a in a class logger such
as follows:
> ...
> Logger log = Logger.getLogger("UseCase1");
> ...
>
Now lets suppose I want "UseCase1" to be displayed in the resulting log file
next to the log statements from the "UseCase1" logger. Is there an
It appears you want to print a specific part of the thread name and
that name is set by the application server to be something like
"ExecuteThread: '4' for queue:
'weblogic.kernel.Default (self-tuning)'". Is that correct? I don't
know of a good solution to that because the part of the name that
I would like to have shorter thread information.
Right now my pattern is:
log4j.appender.logfile.layout.ConversionPattern=%d{ABSOLUTE}
%t %-5p %c{1} %x - %m%n
which corresponds to:
15:36:36,154 [ACTIVE] ExecuteThread: '4' for queue:
'weblogic.kernel.Default (self-tuning)' DEBUG
ReleaseUtil - T
Hi,
I release the first version of my open source project that is based on
SwingX and Glazedlists. You can take a look at:
http://vigilog.sourceforge.net.
It is a log file viewer simular to Chainsaw that allows you to easily filter
the loggings to pinpoint the problems. It currently only works w
16 matches
Mail list logo