LogFactor5 pattern question

2003-12-15 Thread Michael Seele
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

Re: Log4J Question

2003-11-20 Thread Paul Smith
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

Log4J Question

2003-11-20 Thread Jones, Marty B.
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

Newbie/Dummy Question on XMLLayout and log4j

2003-11-19 Thread Caitriona Doris (AT/EEI)
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

RE: SMTP log4j question

2003-11-18 Thread Shapira, Yoav
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

RE: SMTP log4j question

2003-11-18 Thread Miller,Catherine
[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

RE: SMTP log4j question

2003-11-18 Thread Shapira, Yoav
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

SMTP log4j question

2003-11-18 Thread Miller,Catherine
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

RE: Newbie question on setting different levels

2003-11-12 Thread Paul Smith
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

RE: Newbie question on setting different levels

2003-11-12 Thread Scott Smith
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

Short manual question re: Loggers may be assigned levels...

2003-11-12 Thread Francis Le Monnier
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

RE: Newbie question on setting different levels

2003-11-11 Thread Paul Smith
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

RE: Newbie question on setting different levels

2003-11-11 Thread Mark.Priest
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

Re: Newbie question on setting different levels

2003-11-11 Thread Paul Smith
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

Newbie question on setting different levels

2003-11-11 Thread Scott Smith
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

RE: basic question from a newbie

2003-10-30 Thread Vikas Phonsa
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

RE: basic question from a newbie

2003-10-30 Thread Jim Moore
"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

RE: basic question from a newbie

2003-10-29 Thread Mark Womack
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

RE: basic question from a newbie

2003-10-29 Thread Vikas Phonsa
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

RE: basic question from a newbie

2003-10-29 Thread Vikas Phonsa
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

RE: basic question from a newbie

2003-10-29 Thread Charles Hudak
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

basic question from a newbie

2003-10-29 Thread Vikas Phonsa
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

question about the JMSAppender

2003-10-08 Thread Sabitha
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

Re: dumb newbie question?

2003-10-01 Thread Rishikesh Tembe
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:/

Re: dumb newbie question?

2003-10-01 Thread Ceki Gülcü
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

Re: dumb newbie question?

2003-10-01 Thread Rishikesh Tembe
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\

Re: dumb newbie question?

2003-10-01 Thread Ceki Gülcü
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

dumb newbie question?

2003-10-01 Thread Rishikesh Tembe
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

Re: Elementary question

2003-09-08 Thread Paul Smith
> 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. > >

Re: Elementary question

2003-09-07 Thread Jacob Kjome
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

Re: Elementary question

2003-09-07 Thread Bhamidi Krishna
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

Re: Elementary question

2003-09-07 Thread Jacob Kjome
\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. -

Elementary question

2003-09-07 Thread Bhamidi 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-

Re: Question re: JBoss / Log4J / RepositorySelector / Web-apps

2003-08-24 Thread Jacob Kjome
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

Re: Question re: JBoss / Log4J / RepositorySelector / Web-apps

2003-08-24 Thread prhodes
>>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

Logger question

2003-07-23 Thread Satrasala, Sudhakar
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");

Question about late localisation

2003-07-23 Thread Pruente Kai
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

question on log4j.xml

2003-07-21 Thread Pramodh Peddi
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*

RE: Question on configuration

2003-07-19 Thread Scott Burns
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'

RE: Question on configuration

2003-07-19 Thread Jason Friedlander
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

Question on configuration

2003-07-18 Thread Haidri, Baquera
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

Question on SocketAppender

2003-07-15 Thread Satrasala, Sudhakar
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

RE: Newbie Question

2003-07-14 Thread Hainer, Neil
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

Re: Newbie Question

2003-07-13 Thread Steve Ebersole
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

RE: Newbie Question

2003-07-12 Thread Hainer, Neil
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

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
=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

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
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

RE: Newbie Question

2003-07-11 Thread Hainer, Neil
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

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
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

RE: Newbie Question

2003-07-11 Thread Hainer, Neil
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?

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
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

RE: Newbie Question

2003-07-11 Thread Hainer, Neil
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

RE: Newbie Question

2003-07-11 Thread Ebersole, Steven
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

Newbie Question

2003-07-11 Thread Hainer, Neil
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.

RE: Chainsaw Question

2003-06-17 Thread Paul Smith
> 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???)

RE: Chainsaw Question

2003-06-17 Thread Egan Feargal
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

RE: Chainsaw Question

2003-06-17 Thread Joerg Eggink
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

Chainsaw Question

2003-06-17 Thread Egan Feargal
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

Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Mark R. Diggory
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

Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Ceki Gülcü
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

Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Mark R. Diggory
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

Re: Another Default configuration not seeing my appender Question

2003-03-28 Thread Ceki Gülcü
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

Another Default configuration not seeing my appender Question

2003-03-28 Thread Mark R. Diggory
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:

question abuot tjdo and jdo

2003-03-12 Thread Florencia Saadi
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]

RE: newbie setup question

2003-02-28 Thread Frank Temi
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

RE: Question regarding two JVMs, one file

2003-02-28 Thread Shapira, Yoav
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'

RE: Question regarding two JVMs, one file

2003-02-28 Thread Lutz Michael
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

RE: Question regarding two JVMs, one file

2003-02-28 Thread Shapira, Yoav
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

Re: Question regarding two JVMs, one file

2003-02-28 Thread Ceki Gülcü
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

RE: Question regarding two JVMs, one file

2003-02-28 Thread Shapira, Yoav
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

Re: Question regarding two JVMs, one file

2003-02-28 Thread Fergus Gallagher
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. >

Question regarding two JVMs, one file

2003-02-28 Thread Shapira, Yoav
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

RE: Reposting of Log4J Question

2003-02-27 Thread Brendan Lawlor
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

RE: Reposting of Log4J Question

2003-02-27 Thread Corbin, James
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

RE: newbie setup question

2003-02-27 Thread Ebersole, Steven
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

RE: Reposting of Log4J Question

2003-02-27 Thread Brendan Lawlor
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

newbie setup question

2003-02-26 Thread John Smith
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'

Re: Reposting of Log4J Question

2003-02-26 Thread Jacob Kjome
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

RE: Reposting of Log4J Question

2003-02-26 Thread donald larmee
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

Re: Reposting of Log4J Question

2003-02-25 Thread Naresh Kripalani
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

RE: Reposting of Log4J Question

2003-02-25 Thread Corbin, James
[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

Re: Reposting of Log4J Question

2003-02-25 Thread donald larmee
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. -

Re: Reposting of Log4J Question

2003-02-25 Thread Jacob Kjome
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

Reposting of Log4J Question

2003-02-25 Thread Corbin, James
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

Re: Configuration question

2003-02-22 Thread Shorn Tolley
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

Configuration question

2003-02-21 Thread Sumedha_Gupta
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

Log4J 1.2.7 Question

2003-02-19 Thread Corbin, James
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

RE: HTMLLayout question.

2003-02-09 Thread Chris Bailey
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

xml configuration question

2003-02-07 Thread Chintalapati, Shyam
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

Question on SMTPAppender

2003-02-07 Thread ramakrishna arni
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

HTMLLayout question.

2003-02-07 Thread 文啟能
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

HTMLLayout question...

2003-02-07 Thread 文啟能
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

Question

2003-02-02 Thread sk k
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

Re: Quick question on "the scope of Log4j's configuration settings"

2003-01-10 Thread Jacob Kjome
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

RE: Quick question on "the scope of Log4j's configuration setting s"

2003-01-10 Thread Ceki Gülcü
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

RE: Quick question on "the scope of Log4j's configuration settings"

2003-01-10 Thread Ebersole, Steven
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

Quick question on "the scope of Log4j's configuration settings"

2003-01-10 Thread Lutz Michael
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

Réf. : Re: Quick async Appender question

2003-01-08 Thread serge . arsenault
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

Re: Quick async Appender question

2003-01-08 Thread Ceki Gülcü
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

Quick async Appender question

2003-01-08 Thread Lutz Michael
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   2   3   4   >