hi all,
is use LogFactor5 for my error analysing. now i want to add some special
infos to the logging message(application-build-numer, jdk-version...).
is it possible to change the pattern that i can add my infos to the log
message and is it also possible to see the added infos in the Logfactor5
On Thu, 2003-11-20 at 22:51, Jones, Marty B. wrote:
> I was wondering if Log4J will allow me to do the following:
>
> configure a RollingFileAppender that logs standard output.
> configure a RollingFileAppender that logs info and warning output.
> configure a RollingFileAppender that logs error le
I was wondering if Log4J will allow me to do the following:
configure a RollingFileAppender that logs standard output.
configure a RollingFileAppender that logs info and warning output.
configure a RollingFileAppender that logs error level output.
have a single logger that will use one of the abo
Hi,
I am trying to use XMLLayout class to format my logs from log4j and my question is in
the complete manual it states that
"... if abc.log is the name of the file where the XMLLayout results go, then the
following file includes it as an external entity:"
Is this a dtd that shou
D]
>Sent: Tuesday, November 18, 2003 9:02 AM
>To: 'Log4J Users List'
>Subject: RE: SMTP log4j question
>
>Here is a snippet of my properties file. I actually set up many files
so I
>only included the root and SMTP appender.
>
># This configuration illustrates f
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 8:50 AM
To: Log4J Users List
Subject: RE: SMTP log4j question
Howdy,
You need to access the SMTPAppender object and call its methods to
dynamically change the properties like the subject line.
How are you configuring log4j? If you kno
g one SMTP appender for each combination.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Miller,Catherine [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, November 18, 2003 7:07 AM
>To: '[EMAIL PROTECTED]'
>Subject: SMTP log4j question
>
>I'll
I'll start by letting everyone one know I am very new to Java (though I've
been in IT for 10yrs) and log4j so please excuse if this is a stupid
question.
I have been able to set up a test application using log4j to send email to
myself as a test for sending some logging information. The
On Thu, 2003-11-13 at 03:45, Scott Smith wrote:
> OK, you are forcing me to admit my sins. This morning I woke up and guessed
> the problem (I knew I should have waited another day before asking for
> help).
I think that there must be a universal Law somewhere about this, I've
also found numero
ember 11, 2003 8:05 PM
To: Log4J Users List
Subject: RE: Newbie question on setting different levels
On Wed, 2003-11-12 at 13:57, [EMAIL PROTECTED] wrote:
> Scott,
>
> Is it possible that the Jakarta libraries are reconfiguring log4j on
> you after your configuration has run? I r
In the paragraph beginning 'Loggers may be assigned levels.', it goes on to
say 'Although we do not encourage you to do so, you may define your own
levels by sub-classing the Level class. A perhaps better approach will be
explained later on.' I have checked out the examples in the 1.2.8 src
On Wed, 2003-11-12 at 13:57, [EMAIL PROTECTED] wrote:
> Scott,
>
> Is it possible that the Jakarta libraries are reconfiguring log4j on you after your
> configuration has run? I ran into this with the open source Joram JMS
> implemnetation. As soon as I started using the Joram classes, some s
whole configuration. Can you try running configure
after calling some library methods?
Good luck,
Mark
-Original Message-
From: Paul Smith [mailto:[EMAIL PROTECTED]
Sent: Tue 11/11/2003 9:23 PM
To: Log4J Users List
Cc:
Subject: Re: Newbie question on setting different levels
I have to admit that everything you have indicated here looks fine. At
what point does the DOMConfigurator.configure("log4j.xml") call get
made? I am assuming here that it is called _before_ the call to
getEffectiveLevel(). By default all Loggers will be INFO until a
configuration sets to otherwis
I've been reading through documentation on log4j and thought I understood
how everything works. But there is something I'm missing.
Since several of the Jakarta libraries seem to log to the root logger, I
wanted to set up the root logger with the appenders. Then I would set the
root logger to
Jim, Jeff, Mark, Charles and everybody else
Thanks for your answers, it does makes sense to me now.
Vikas
-Original Message-
From: Jim Moore [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 30, 2003 5:44 AM
To: 'Log4J Users List'
Subject: RE: basic question from a newbie
"mypackage").
-Jim Moore
-Original Message-
From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 8:19 PM
To: '[EMAIL PROTECTED]'
Subject: basic question from a newbie
Hi guys,
I started with log4j couple of hrs ago and I'm reading thru
Vikas,
It is not a stupid question. Log4j allows flexibility so that you can get a
logger associated with any string that you want. In your case below, you
chose "chapter1.HelloWorld", but it could have been "mylogger" or whatever.
But everytime you use the same string, y
esent ?
Maybe I'm asking some stupid question ?
Vikas
-Original Message-
From: Charles Hudak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 5:23 PM
To: 'Log4J Users List'
Subject: RE: basic question from a newbie
Most of the examples show the 'programm
So Myclass is the logger then, right ?
-Original Message-
From: Charles Hudak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 5:23 PM
To: 'Log4J Users List'
Subject: RE: basic question from a newbie
Most of the examples show the 'programmatic' use of
ur xml configuration file
so that we can dial up or down the logging verbosity, determine logging
destinations, etc.
-Original Message-
From: Vikas Phonsa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2003 17:19
To: '[EMAIL PROTECTED]'
Subject: basic question from a new
Hi guys,
I started with log4j couple of hrs ago and I'm reading thru the
documentation and its making sense. I have gone too far into it, but one
basic thing is confusing me. What exactly is a logger.
When u say
Logger log1 = Logger.getLogger("com.foo.Bar");
What is com.foo.Bar, is that some ob
Does Log4j 1.2.8 support both the publish-and-subscribe and point-to-point queuing
models? In the complete manual it states that only the publish-and-subscribe model was
supported at the time of writing.
Thanks!
Sabitha
-
Do you Yahoo!?
The New Yahoo! Shopping
oof.. my bad :) it works now!
thanks,
Rishi
On Wed, 01 Oct 2003 20:25:56 +0200, "Ceki Gülcü" <[EMAIL PROTECTED]> said:
>
> Not environment variables, system properties!
>
> System properties are Java specific.
>
> Try ${catalina.home}/...
--
Rishikesh Tembe
[EMAIL PROTECTED]
--
http:/
Not environment variables, system properties!
System properties are Java specific.
Try ${catalina.home}/...
At 10:16 AM 10/1/2003 -0800, you wrote:
First off, I am under Windows2000. Is what you have said
platform-independent?
I have system variable CATALINA_HOME=C:\Tomcat4.1
In log4j.properties
First off, I am under Windows2000. Is what you have said
platform-independent?
I have system variable CATALINA_HOME=C:\Tomcat4.1
In log4j.properties, I specify
log4j.appender.LOGMSGS.File=${CATALINA_HOME}/webapps/myapp/WEB-INF/log/messages.log
What I get is a FileNotFoundException:
\webapps\myapp\
There is no such thing as a dumb question. See also below.
At 09:39 AM 10/1/2003 -0800, Rishikesh Tembe wrote:
Hi group,
Is there a way I can specify an absolute path for the File for the
DailyRollingFileAppender in my log4j.properties?
I want my log files to be located in the
CATALINA_HOME
Hi group,
Is there a way I can specify an absolute path for the File for the
DailyRollingFileAppender in my log4j.properties?
I want my log files to be located in the
CATALINA_HOME/webapps/myapp/WEB-INF/log directory. How can I specify this
destination without tying it down to the actual location
> I also tried other options like making the string
> \com\common\logger.xml and com\common\logger.xml
>
> Another approach I tried was to get Thread.currentThread.getClassLoader
> and read the URL from there, I get a vague null pointer exception and
> zip exception.
>
>
n my
>web-app. The issue is that the URL is null.
>
>I also tried other options like making the string
>\com\common\logger.xml and com\common\logger.xml
>
>Another approach I tried was to get Thread.currentThread.getClassLoader
>and read the URL from there, I get a vague null
her approach I tried was to get Thread.currentThread.getClassLoader
>and read the URL from there, I get a vague null pointer exception and
>zip exception.
>
>I am sorry if this is a very elementary question, but I could not find
>any solutions in the lists also.
>
&g
\common\logger.xml
Another approach I tried was to get Thread.currentThread.getClassLoader
and read the URL from there, I get a vague null pointer exception and
zip exception.
I am sorry if this is a very elementary question, but I could not find
any solutions in the lists also.
Krishna.
-
lassLoader
and read the URL from there, I get a vague null pointer exception and
zip exception.
I am sorry if this is a very elementary question, but I could not find
any solutions in the lists also.
Krishna.
-
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-
At 09:00 PM 8/23/2003 -0400, you wrote:
>>Hi all, I'm trying to work with JBoss and Log4J, and have run
>>into a question that I can't seem to find the answer to. In the
>>course of trying to figure out how to specify "per-application"
>>Log4J configu
>>Hi all, I'm trying to work with JBoss and Log4J, and have run
>>into a question that I can't seem to find the answer to. In the
>>course of trying to figure out how to specify "per-application"
>>Log4J configuration for web-apps running
Hi,
I have 3 loggers in my application. Each logger has it's own FileAppender.
Can I log specific messages to the attached appenders, without setting a
level/priority.
The code looks like this:
Logger log = Logger.getLogger("LogAppTest");
Logger log1 = Logger.getLogger("LogAppTest1");
Hi,
I have a question and suggestion about localisation.
I already found some similar request, but no answer in the mailing list.
Log4j provides the l7* methods for localisation.
However theses methods are converting the key directly into the localised message. I
am thinking about having two
Hi,
My application uses one of the libraries, which inturn uses log4j. I have to
eliminate/prioritize the levels of loggers coming from this package. Can I know how to
do that?
Following is my log4j.xml file:
start*
Also
Set the additivity of your logger to false
log4j.additivity.=false
-Original Message-
From: Jason Friedlander [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 9:06 PM
To: Log4J Users List
Subject: RE: Question on configuration
try putting something like this in; i'
PROTECTED]
Sent: Friday, July 18, 2003 6:40 PM
To: [EMAIL PROTECTED]
Subject: Question on configuration
Hi,
I'm using log4j to do the logging for my Struts webapp. I'm getting a whole
lot of Struts messages logged to my file and I only want the messages that
my classes create. I tr
Hi,
I'm using log4j to do the logging for my Struts webapp. I'm getting a whole lot of
Struts messages logged to my file and I only want the messages that my classes create.
I tried the following in my log4j.properties file:
#config file for logger
log4j.rootLogger=DEBUG, A1
log4j.appender.A1
Hi,
I am using log4j to create multiple log files (like error log, audit.log). I
am using a SocketAppender on the client side. I am running a
SimpleSocketServer on the remote server. I want the output to be logged to
various files in different locations on the server side. Previously, I used
a Fi
Steve,
Your last suggested configurations settings were right on the money.
Thanks so much for your help.
Regards,
Neil
-Original Message-
From: Steve Ebersole [mailto:[EMAIL PROTECTED]
Sent: Sunday, July 13, 2003 9:17 AM
To: Log4J Users List
Subject: Re: Newbie Question
Also, use
ED]>
Sent: Saturday, July 12, 2003 3:34 PM
Subject: RE: Newbie Question
> Steve,
>
> I will give a try on Monday and let you know the results.
>
> Thanks,
>
> Neil
>
> -Original Message-
> From: Ebersole, Steven [mailto:[EMAIL PROTECTED]
> Sent: Fri 7/11
Steve,
I will give a try on Monday and let you know the results.
Thanks,
Neil
-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED]
Sent: Fri 7/11/2003 2:11 PM
To: 'Log4J Users List'
Cc:
Subject: RE: Newbi
=org.apache.log4j.PatternLayout
log4j.appender.FILE.layout.conversionPattern=%p -%m%n
-Original Message-
From: Ebersole, Steven
Sent: Friday, July 11, 2003 1:08 PM
To: 'Log4J Users List'
Subject: RE: Newbie Question
You say "just part of a java app"... Some other part of th
include its package name...
-Original Message-
From: Hainer, Neil [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 11:30 AM
To: Log4J Users List
Subject: RE: Newbie Question
I initialize it with the following line of code:
private static Logger logger = Logger.getLogger( DamlBuilde
eName() + two_spaces + instances + "
Object Instances Created" +
two_spaces + QuickTimeFormat.msToSecs( pTime ) + " seconds." );
-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:25 PM
To: 'Log4J Users
How are you doing the initialization of log4j?
Are you possibly using jakarta-commons-logging or using something that uses
it?
-Original Message-
From: Hainer, Neil [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 11:21 AM
To: Log4J Users List
Subject: RE: Newbie Question
Standalone. Just part of a java app.
-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:20 PM
To: 'Log4J Users List'
Subject: RE: Newbie Question
You should not be. In what type of environment is this running? In Tomcat?
You should not be. In what type of environment is this running? In Tomcat?
In an app-server?
-Original Message-
From: Hainer, Neil [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 11:11 AM
To: Log4J Users List
Subject: RE: Newbie Question
Steven,
Thanks. This works, but I
Steven,
Thanks. This works, but I still get output to the screen (standard out?) as well. Is
there a way to prevent this?
Neil
-Original Message-
From: Ebersole, Steven [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 12:07 PM
To: 'Log4J Users List'
Subject: RE: Newbi
directory from where the java process was started).
-Original Message-
From: Hainer, Neil [mailto:[EMAIL PROTECTED]
Sent: Friday, July 11, 2003 11:02 AM
To: [EMAIL PROTECTED]
Subject: Newbie Question
I am using Log4j for the first time. How do I set up a property file
(correctly) so I
I am using Log4j for the first time. How do I set up a property file (correctly) so I
only log to a file and not to the console? I only want messages at level INFO or
higher in my log file. This is what I tried. It didn't work:
log4j.rootLogger = INFO
log4j.DamlBuilder=INFO, FILE
#log4j.
> Hi everybody,
Hi Egan,
> The initial suggestion was to put a session id or an ip
> address with each
> debug statement and separate them using grep. A later
> proposal was to use
> something like chainsaw to generate a separate logfile for
> each user. (Is
> this possible with chainsaw???)
Thanks very much,
I figured it out from the log4j manual on the Jakarta site.
Cheers for your help though!
Feargal
-Original Message-
From: Joerg Eggink [mailto:[EMAIL PROTECTED]
Sent: 17 June 2003 17:06
To: 'Log4J Users List'
Subject: RE: Chainsaw Question
Hi
I had
be performance is also critical if you log in many files.
May be this helps.
Regards
Joerg
> -Original Message-
> From: Egan Feargal [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 17, 2003 2:46 PM
> To: '[EMAIL PROTECTED]'
> Subject: Chainsaw Questi
Hi everybody,
We have a production system with several users which uses log4j. The problem
I have is that all the log statements from the app for all of the users are
outputted to the one file. I've been asked to investigate a way to separate
the logs for each user.
The initial suggestion was
nse to what was probibly a trival question!
-Mark
Ceki Gülcü wrote:
For starters, don't add the path to the file but the directory:
use C:/eclipse/workspace/project/ instead of
C:/eclipse/workspace/project/log4j.xml
At 01:16 PM 3/28/2003 -0500, you wrote:
In the same directory as the build.x
sue that should be taken up on thier lists or Sun.
-Mark
Ceki Gülcü wrote:
Hi Mark,
Where is the log4j.xml file located?
At 01:04 PM 3/28/2003 -0500, you wrote:
Here's a similar question concerning an appenders error. I'm trying to
launch a java program in Ant (Jelly) that uses log4j f
ce\project\log4j.xml:
java.util.zip.ZipException: error in opening zip file
But, I'm sure thats an issue that should be taken up on thier lists or Sun.
-Mark
Ceki Gülcü wrote:
Hi Mark,
Where is the log4j.xml file located?
At 01:04 PM 3/28/2003 -0500, you wrote:
Here's a similar question
Hi Mark,
Where is the log4j.xml file located?
At 01:04 PM 3/28/2003 -0500, you wrote:
Here's a similar question concerning an appenders error. I'm trying to
launch a java program in Ant (Jelly) that uses log4j for logging. I do
this via a target that looks som
Here's a similar question concerning an appenders error. I'm trying to
launch a java program in Ant (Jelly) that uses log4j for logging. I do
this via a target that looks somewhat like.
I keep getting the errors that look like:
Buildfile: build.xml
gui:
Hey,
i need migrate from jdo to tdo(triactive java data object), how cant I?.
please help!!!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
property to whatever you want
> when starting up your server like -D
> ORG_APACHE_LOG_LEVEL=warn
>
> HTH
>
>
>
> |-Original Message-
> |From: John Smith [mailto:[EMAIL PROTECTED]
> |Sent: Thursday, February 27, 2003 1:25 AM
> |To: [EMAIL
Howdy,
I've only tried this with one appender type - DailyRollingFileAppender.
None of the tests span a rolling period, i.e. I think it's the
FileAppender aspect rather than the rolling.
The JVMs are completely separate.
> Also, if B is started up again, does A pick back up?
This I haven'
ist
Subject: RE: Question regarding two JVMs, one file
Hi,
I'm not asking for synchronization across JVMs. I don't care about the
order of logging statements in the file itself or anything like that.
I just don't want System B's shutdown to affect System A. Right no
stem A is that System A's logging statements do
not show up in the file.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Ceki Gülcü [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 12:47 PM
>To: Log4J Users List
>Subject: Re: Question re
Well, this is "normal" because there is no synchronization of resources
between multiple JVMs. I am not sure if the NIO API has changed this but
for regular java.io you can't share across JVMs.
At 12:42 PM 2/28/2003 -0500, you wrote:
Howdy,
I have the following:
System A uses a log4j configurat
Howdy,
This is Sun Solaris 8, Sun JDK 1.4.1.
Yoav Shapira
Millennium ChemInformatics
>-Original Message-
>From: Fergus Gallagher [mailto:[EMAIL PROTECTED]
>Sent: Friday, February 28, 2003 12:44 PM
>To: Log4J Users List
>Subject: Re: Question regarding two JVMs, one fil
What OS is this?
On Fri, Feb 28, 2003 at 12:42:07PM -0500, Shapira, Yoav wrote:
>
> Howdy,
> I have the following:
>
> System A uses a log4j configuration file, which defines one file
> appender.
> System B uses the same log4j configuration file, so it's writing to the
> same file appender.
>
Howdy,
I have the following:
System A uses a log4j configuration file, which defines one file
appender.
System B uses the same log4j configuration file, so it's writing to the
same file appender.
System A is long-lived, typically weeks at a time. System B is
short-lived, typically runs once a d
James [mailto:[EMAIL PROTECTED]
Sent: 27 February 2003 15:42
To: Log4J Users List
Subject: RE: Reposting of Log4J Question
Brendan,
Per another post, I defined a different logger in my local config and it
doesn't conflict with the JBOSS logging.
For example,
I defined MyConsoleAp
ender, MyFileAppender
Hope this helps.
J.D.
-Original Message-
From: Brendan Lawlor [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 4:15 AM
To: Log4J Users List
Subject: RE: Reposting of Log4J Question
By way of an answer to the original question of how to separate the logging
wbie setup question
|
|
|Hi there. This is probably a simple question but I'll
|post anyway.
|
|In each of my webapp directories I've created I have a
|log4j jar file in WEB-INF/lib and a properties file in
|WEB-INF/classes.
|
|Where would be the be
By way of an answer to the original question of how to separate the logging
of an application on JBoss, the only satisfactory solution I've found has
been to stop using the ConsoleAppender and stick with a
RotatingFileAppender. All my applications loggers use this appender, and
their additivi
Hi there. This is probably a simple question but I'll
post anyway.
In each of my webapp directories I've created I have a
log4j jar file in WEB-INF/lib and a properties file in
WEB-INF/classes.
Where would be the best place to set, for example,
'log4j.logger.org.apache=WARN'
selector discussion:
> http://qos.ch/logging/sc.html
>
>
> Note, if you implement a JNDI selector that works
> for you, it would be
> great if you could contribute that back to the
> Log4j-sandbox project!
>
>
> Jake
>
> Tuesday, February 25, 2003, 1:48:51 PM, yo
Alas, my solution is probably not what you want to hear. I was pressed for
time on the project in question, and took the 'easy' way out...i.e., I
modified the jBoss log4j.xml file to be aware of the applications that were
running inside of it
-don
At 06:37 PM 2/25/2003 -05
oing and the app will
> just have to live
> with the decision.
>
>
> For sure, read Ceki's article about custom selectors
> and pay attention
> to the JNDI selector discussion:
> http://qos.ch/logging/sc.html
>
>
> Note, if you implement a JNDI selector that wo
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 25, 2003 4:40 PM
To: Log4J Users List; Log4J Users List
Subject: Re: Reposting of Log4J Question
The problem w/ jBoss is that they 'get there first'.. in that they use
log4j for their own internal logging log4j.jar exists in the
webapp in
question (I think... I played around w/ resolving this issue in the past,
and seem to recall that being the problem...)
I seem to recall conversations on jBoss forums/listservs that would allow
for a Custom CRS to be loaded by the container, so you might check the
archives on jboss.org.
-
ors and pay attention
to the JNDI selector discussion:
http://qos.ch/logging/sc.html
Note, if you implement a JNDI selector that works for you, it would be
great if you could contribute that back to the Log4j-sandbox project!
Jake
Tuesday, February 25, 2003, 1:48:51 PM, you wrote:
CJ> A
An answer to this question/problem is very important to my project group so
please take time to read and understand it. Thanks. I struggled with
posting this to a JBOSS group but decided it was more of an issue with the
use of Log4J and not so much how JBOSS was using it.
I am using JBOSS
pertyConfigurator javadoc)
Cheers,
Shorn.
--- [EMAIL PROTECTED] wrote: > Hi,
>
> I as wondering if we can define some properties in
> one file and read some
> from other file.
> We have 4 servers that we configure through log4j,
> we have same Level,
> Pattern layout
Hi,
I as wondering if we can define some properties in one file and read some
from other file.
We have 4 servers that we configure through log4j, we have same Level,
Pattern layout for
but different output files. So, my question is can we define level and
layout in one common file
and then read
Hello,
I am setting up log4J logging in my web application. I app is running
against JBOSS which also uses Log4J for their server logging.
I initially tried configuring my logger using a local configuration file
that defined a console and file appender. When I tried logging, it put the
se
ginal Message-
> From: ¤å±Ò¯à [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 07, 2003 1:32 AM
> To: [EMAIL PROTECTED]
> Subject: HTMLLayout question.
>
>
> hi~~ I wanna make my HTMLLayout looks different...
> so I make a ConversionPattern in my configu
Hi,
I currently use XML configuration in our logging.
I am also familiar with the regular properties text file
for configuration.
Is it possible to specify hierarchial logger names
in XML config file, like we do with properties file.
All our logger names start
with "cmm.". I have been trying to s
Hi,
We have written a wrapper on top of log4j and created our own set of log
levels. I have the following configuration fragment for a logger:
I wrote a test client that gets this logger and requests for logging a
message of severity greater than "SEVERI
hi~~ I wanna make my HTMLLayout looks different...
so I make a ConversionPattern in my configuration as following.
log4j.appender.4html.HTMLLayout.ConversionPattern=%d{/MMM/dd[HH:mm:ss]}
%-4r %-5p %C{1}.%M - %m%n
but the html page is still looks like following...
Time | Thread | Priority
hi~~ I wanna make my HTMLLayout looks different...
so I make a ConversionPattern in my configuration as following.
log4j.appender.4html.HTMLLayout.ConversionPattern=%d{/MMM/dd[HH:mm:ss]}
%-4r %-5p %C{1}.%M - %m%n
but the html page is still looks like following...
Time Thread Priority Cate
Hi,
Is there anyway to source values from an external xml
file(foo.xml) into log4j.xml properties file.
Incase it is possible, how to do it?
Thanks.
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.c
application in a servlet container owns its own class loader. Thus, in
LM> the same JVM process space, we are able to support multiple customers
LM> running multiple versions of our code.
LM> The question deals with Log4j's ability to be configured differently for
LM> such custo
At 08:59 10.01.2003 -0600, Ebersole, Steven wrote:
The configs are maintained per-LoggerRepository. The scope of this depends
on the RepositorySelector implementation that you are using.
Exactly.
The default
selector uses classloaders as its scoping mechanism, and thus does work with
the way
for
each defined web app;ication.
|-Original Message-
|From: Lutz Michael [mailto:[EMAIL PROTECTED]]
|Sent: Friday, January 10, 2003 8:54 AM
|To: 'Log4J Users List'
|Subject: Quick question on "the scope of Log4j's
|co
are able to support multiple customers
running multiple versions of our code.
The question deals with Log4j's ability to be configured differently for
such customers, given the fact that they may be running in the same JVM
process space, but under different web applications.
So the questi
t;Log4J Users List" <[EMAIL PROTECTED]>
cc :
Objet : Re: Quick async Appender question
At 15:39 08.01.2003 -0500, you wrote:
>I've gleamed from the Log4j documentation that all appenders can be attached
>to the asynchronous appender, and thus in effect can all be invoked
>as
At 15:39 08.01.2003 -0500, you wrote:
I've gleamed from the Log4j documentation that all appenders can be attached
to the asynchronous appender, and thus in effect can all be invoked
asynchronously.
Is this a correct understanding?
Yes, it is.
Thanks in advance.
Mike
--
Ceki
--
To unsu
I've gleamed from the Log4j documentation that all appenders can be attached
to the asynchronous appender, and thus in effect can all be invoked
asynchronously.
Is this a correct understanding?
Thanks in advance.
Mike
1 - 100 of 387 matches
Mail list logo