Thanks a lot Curt,
it was my suspicion.
cheers,
Ste
On 11/03/2010 6.00, Curt Arnold wrote:
On Mar 10, 2010, at 10:37 AM, Stefano Nichele wrote:
Hi all,
looking for perfomance issue in my server application, I found that
AppenderSkeleton.doAppend method is synchronized.
I google a bit
Hi all,
looking for perfomance issue in my server application, I found that
AppenderSkeleton.doAppend method is synchronized.
I google a bit and I have found some messages but not a clear anwser to
my doubt: why that method is synchronized ? it seems that just check the
threshold, the filter
Hi All,
I don't know if this is the right list, maybe not and I apologize if
this is not the right one. BTW, I would like to know how DEBUG and TRACE
level are usually handled.
I mean, when a log record should be DEBUG and when that should be TRACE ?
I'm working on a web application and the
Hi All,
I would like to know if it's possible to remove programmatically a
logger from a repository.
This is my use case:
I have a configuration class that configures my loggers with my
appenders and so on; this plays like a PropertyConfigurator reading a
file like:
X.level=ALL
Michael Giroux wrote:
Stefano,
On 10/17/06, Stefano Nichele [EMAIL PROTECTED] wrote:
and I should log any message in both loggers and i should redirect to
the myDebugLogger the log coming from some user...ehmmmi'm
confusedcan you give me more details ?
messages logged
Jacob Kjome wrote:
I like the idea, though you do realize that this probably doesn't have
a chance of getting into either Log4j-1.2.xx or Log4j-1.3. Log4j-2.0,
however, is pretty wide open. I suggest you fill out a Bugzilla
feature request and provide a detailed description of what you
Hi Jacob and all,
I searched in the archives for the reason to wrapper the log and not
just extend it. I found two reason:
1. FQCN: the FQCN is defined in the Logger class so I could have some
problems in the stacktrace handling when i want log also the source
class/method of the call. I read
Hi Michael,
I read some threads about that and the user level, but I don't like this
way.
What I understood (i think no :-) ) about the use of multiple loggers
is that I should have in my classes always availble more than one logger:
Logger myLogger = new Logger(x.y.z);
Logger
Hi Jacob,
thanks for your reply.
Checking in the log4j source code, i saw all log methods and all guard
methods performs something like this:
public boolean isTraceEnabled() {
if (repository.isDisabled(Level.TRACE_INT)) {
return false;
}
return
Hi All,
I need to implements a user-level filter. I read in the archive some threads
about that but I didn't found or i didn't understand the right way.
I have a web application and I want to keep the log level to info or error and just set to dubug for a single user.
I know with MDC i'm able
Hi All,
I need to implements a user-level filter. I read in the archive some threads
about that but I didn't found or i didn't understand the right way.
I have a web application and I want to keep the log level to info or error and just set to debug for a single user.
I know with MDC i'm able
11 matches
Mail list logo