RE: [JBoss-user] Log4J Problems With Upgrade

2004-03-04 Thread Scott M Stark
Submit a bug report with a testcase on sourceforge please. Scott Stark Chief Technology Officer JBoss Group, LLC > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Hunter Hillegas > Sent: Thursday

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread Eric J Kaplan
Like a charm. Thank you! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Giovanni Formenti Sent: Tuesday, February 10, 2004 10:54 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j DEBUG Hi! To log only my classes activity on the console at DEBUG

Re: [JBoss-user] log4j DEBUG

2004-02-10 Thread Giovanni Formenti
nd its sub-package... I hope this can help you... Gio > -Messaggio originale- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di Scott M > Stark > Inviato: martedi 10 febbraio 2004 16.18 > A: [EMAIL PROTECTED] > Oggetto: RE: [JBoss-user] log4j DEBUG > >

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread Scott M Stark
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric J Kaplan Sent: Tuesday, February 10, 2004 6:50 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] log4j DEBUG Any ideas? I've trolled the forums with no answers. I can turn on DEBUG for everything on the CONSOLE appender (and

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread pooja
, 2004 8:20 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] log4j DEBUG   Any ideas? I’ve trolled the forums with no answers. I can turn on DEBUG for everything on the CONSOLE appender (and I see the debug messages for the bean below), but how do I do for a single class. We use the

RE: [JBoss-user] log4j DEBUG

2004-02-10 Thread Eric J Kaplan
Any ideas? I’ve trolled the forums with no answers. I can turn on DEBUG for everything on the CONSOLE appender (and I see the debug messages for the bean below), but how do I do for a single class. We use the log4j.properties file for our client and it works like a charm. I figured the xml

Re: [JBoss-user] log4j SMTP appender trouble

2004-02-04 Thread Vladyslav Kosulin
Vladyslav Kosulin wrote: It looks like the logging event contains just 1 line from the exception trace instead of the whole trace!!! Is this a bug or a feature? Vlad Hi all, I activated SMTP appender to send errors by e-mail, but can't properly configure it. Every time an Exception happens, I

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Ryan Hoegg
Vladyslav Kosulin wrote: Scott M Stark wrote: It depends on what is generating the stack trace. In order to get this behavior there has to be a line by line emission of the stack trace using System.err.println() for each line rather than one System.err.println() with the entire stack trace as a m

RE: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Scott M Stark
AIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTP appender trouble Scott M Stark wrote: > It depends on what is generating the stack trace. In order to get this > behavior there has to be a line by line emission of the stack trace > using System.err.println() for eac

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Vladyslav Kosulin
] Subject: Re: [JBoss-user] log4j SMTP appender trouble It looks like the logging event contains just 1 line from the exception trace instead of the whole trace!!! Is this a bug or a feature? Vlad Hi all, I activated SMTP appender to send errors by e-mail, but can't properly configure

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Vladyslav Kosulin
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladyslav Kosulin Sent: Tuesday, January 27, 2004 10:26 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTP appender trouble It looks like the logging event contains just 1 line from the exception trace instead of the whole trace

RE: [JBoss-user] log4j SMTP appender trouble

2004-01-30 Thread Scott M Stark
? Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladyslav Kosulin Sent: Tuesday, January 27, 2004 10:26 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j

Re: [JBoss-user] log4j SMTP appender trouble

2004-01-27 Thread Vladyslav Kosulin
It looks like the logging event contains just 1 line from the exception trace instead of the whole trace!!! Is this a bug or a feature? Vlad Hi all, I activated SMTP appender to send errors by e-mail, but can't properly configure it. Every time an Exception happens, I receive a lot of e-mails

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Brian Styles
g your own category? thanks again, Brian From: Marek Lange <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTPAppender Date: Tue, 16 Dec 2003 14:29:01 +0100 Brian Styles wrote: However I don't even see it trying to send the emails.

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Marek Lange
Brian Styles wrote: However I don't even see it trying to send the emails. I just see the error statement. Just to make sure I have the right idea, does this mean that every time i do a call such as catch(SomeException se){ log.error("my error message", se) } Then this should cause an email to b

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Brian Styles
From: Marek Lange <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j SMTPAppender Date: Tue, 16 Dec 2003 13:14:44 +0100 Brian Styles wrote: Hi all, this is the third time I've asked this question. Hopefully someone w

Re: [JBoss-user] log4j SMTPAppender

2003-12-16 Thread Marek Lange
Brian Styles wrote: Hi all, this is the third time I've asked this question. Hopefully someone will know this time. Has anyone ever got the log4j SMTPAppender working so that emails are sent out when an error occurs. If so, how --> it doesn't seem to work for me at all. It works for me. Perhaps

RE: [JBoss-user] log4j and JBOSS

2003-12-11 Thread Kavitha Ranga
ember 10, 2003 10:43 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j and JBOSS hi, At 16:31 10.12.2003, you wrote: >Hello, >I want to set up separate log files for each of the applications >running within JBOSS. Currently everything gets written to >server.log. How do I

Re: [JBoss-user] log4j and JBOSS

2003-12-10 Thread Rafal Kedziorski
hi, At 16:31 10.12.2003, you wrote: Hello, I want to set up separate log files for each of the applications running within JBOSS. Currently everything gets written to server.log. How do I accomplish this? Any pointers is highly appreciated. i.e. define Your appender in log4j.xml:

RE: [JBoss-user] log4j JMSAppender and dependencies on JMS

2003-09-30 Thread Stephane Nicoll
log4J is one of the first service deployed in JBoss on startup. If you make dependencies on the naming service and on connection factory, it will work (but logging will be available at the end of the deployment). This is quite unusual, but check the JBoss forum (Messaging / JMS): the same question

Re: [JBoss-user] log4j JMSAppender and dependencies on JMS

2003-09-30 Thread Adrian Brock
Hi Bob, Logging is one of the first service configured, well before JMS. If you want to log to local jms, a better approach would be to make your appender delegate to an MBean. The MBean can then store the logging events until its start[Service] method has initialised the connection (with suitabl

Re: [JBoss-user] Log4J Exception when passivating stateful session bean

2003-02-11 Thread Lennart Petersson
or declare it transient /L tisdagen den 11 februari 2003 kl 13.28 skrev Brian Johnson: You could null the variable containing the Logger before passivation, then reinitialize it at activation. Brian --- This SF.NET email is sponsored by:

Re: [JBoss-user] Log4J Exception when passivating stateful session bean

2003-02-11 Thread Brian Johnson
You could null the variable containing the Logger before passivation, then reinitialize it at activation. Brian On Tuesday, February 11, 2003, at 07:23 AM, Marek Lange wrote: Hi all, in JBoss 3.2.0RC1 I get the following stack trace when the container tries to passivate a stateful session b

Re: [JBoss-user] Log4j thread dump capture

2003-01-24 Thread Scott M Stark
There appears to be nothing we can do about this as the vm appears to just go to its native stdout handle. You'll have to wait until the java.util.logging api is actually being used by the vm. Scott Stark Chief Technology Officer JBoss Group, LLC

RE: [JBoss-user] Log4j Question

2002-12-18 Thread Razumovsky, Andrew
    -Original Message-From: Scott M Stark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 1:34 PMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Log4j Question client/jboss-common-client.jar or client/jbossall-client.jar   xx

Re: [JBoss-user] Log4j Question

2002-12-17 Thread Scott M Stark
Title: Message client/jboss-common-client.jar or client/jbossall-client.jar   Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From: Razumovsky, Andrew To: '[EMAIL PROTECTED]' Sent: Tuesday, Decem

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread Sebastian Hauer
; From: Aaron Metzger [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 26, 2002 11:54 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] log4j and jboss: where is log4j.properties? > > > > Sorry to glom onto someone else's thread, but I have a > related quest

Re: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread Aaron Metzger
Sorry to glom onto someone else's thread, but I have a related question. After setting up your own category, as below, everything works nicely for my ejbs but Servlets under Jetty don't seem to see the elevated priority level when I jack my "com.xxx." priority up to DEBUG. All output from my

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-26 Thread saroj kumar
TED]] On Behalf Of linuxman Sent: Sunday, November 24, 2002 7:04 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j and jboss: where is log4j.properties? Thanks first! Yes, I noticed that in $JBOSS_HOME/server/default/conf, there is log4j.xml, then you mean, I can use this default properti

Re: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-23 Thread linuxman
Thanks first! Yes, I noticed that in $JBOSS_HOME/server/default/conf, there is log4j.xml, then you mean, I can use this default properties for my jboss application deployed in $JBOSS_HOME/server/default/deploy? But my test application run correctly, just say nothing:-), not log to log/server.l

RE: [JBoss-user] log4j and jboss: where is log4j.properties?

2002-11-23 Thread saroj kumar
Hi, You can configure your log4j.xml in JBOSS_HOME\conf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of linuxman Sent: Saturday, November 23, 2002 9:40 PM To: jboss ml Subject: [JBoss-user] log4j and jboss: where is log4j.properties? hi, I want to use

RE: [JBoss-user] Log4j or apache.common.logging?

2002-10-15 Thread James Higginbotham
Title: Message Search www.mail-archive.com under the jboss-dev list for a thread on this. Short answer, no.   James -Original Message-From: Enrique Vetere [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 3:33 PMTo: 'Jboss-UserSubject: [JBoss-user] Log4j or apa

RE: [JBoss-user] log4j 1.2x required by an external client?

2002-10-03 Thread Sacha Labourey
Can you try with 3.2 or HEAD? I think I had fixed that: if log4j is present it is used and otherwise logging info goes to /dev/null Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Hans Schmid > Envoyé : merc

Re: [JBoss-user] log4j 1.2x required by an external client?

2002-10-03 Thread Ricardo Escalon
Hello Hans, I am using Jboss 3.0.1 I have made an example of a servlet that communicates with an EJB run before. The problem that you might be having is that JBoss and Tomcat are two stand alone applications. Therefore, Tomcat is unable to see the context of the deployed applications on JBoss (

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
That works perfectly. Now I can leave the jboss/conf/tomcat/log4j.properties alone and encapsulate the app specific log properties cleanly. I didn't use this code I used what was mentioned in the log4 manual. >I usually do something like this... put a log4j properties file in your >application

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread David Ward
Good point. H... Just a quick thought - what about writing your own org.apache.log4.jspi.Filter that can somehow differentiate between application deployements? That would give you a programatic hook that is easily used from the log4j config file, however how the Filter could differenti

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Tim Freund
I usually do something like this... put a log4j properties file in your application e/j/war file, and somewhere in the initialization of the application do this: (sorry for the poor formatting) private void init(){ ResourceBundle bundle = ResourceBundle.getBundle("com.kcp.sso.log4j");

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
> >2) IMHO, what level gets logged and to where (file, rolling file, >email, etc.) is very much a concern of the administrator of a site, >moreso than the developer at that point. >As an administrator with multiple apps to worry about, I would want >centralized control over all logging of all d

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread David Ward
1) Man, I can't wait till JBoss 3.2.3 comes out. It's going to kick some serious butt. 2) IMHO, what level gets logged and to where (file, rolling file, email, etc.) is very much a concern of the administrator of a site, moreso than the developer at that point. As an administrator with multip

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
Oops! I meant JBoss 2.4.2 >>I believe one of the changes from 2.2 to 2.4 was that 2.4 includes >>log4j. What you're seeing is probably from a ClassCastException >>where there are two copies of org.apache.log4j.Category - one in >>your application and one in JBoss' lib/ext directory. > >Does th

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Michael Klem
>I believe one of the changes from 2.2 to 2.4 was that 2.4 includes >log4j. What you're seeing is probably from a ClassCastException >where there are two copies of org.apache.log4j.Category - one in >your application and one in JBoss' lib/ext directory. Does this mean that we are forced to use

Re: [JBoss-user] Log4J Problem!!! Please HELP ME

2002-06-03 Thread Dan Christopherson
I believe one of the changes from 2.2 to 2.4 was that 2.4 includes log4j. What you're seeing is probably from a ClassCastException where there are two copies of org.apache.log4j.Category - one in your application and one in JBoss' lib/ext directory. Try taking all log4j classes out of your app

Re: [JBoss-user] Log4j Config in JBoss3.0.0RC2

2002-05-09 Thread danch
About fifty lines from the bottom of the log4j.xml file is a bit that looks like this: uncomment it, and it should keep out anything under the 'INFO' level (most of it, anyway). Another thought, have you been changing the right file? make sure you change the one matching the configuratio

Re: [JBoss-user] Log4j HELP!

2001-11-02 Thread Guy Rouillier
First try different logging levels. You went from debug, which prints everything, to error, which prints very little (only fatal produces less.) Try info. Also, look at your log4j.properties. In a production environment, I would suggest the DailyRollingFileAppender and ConsoleAppender if you wa

Re: [JBoss-user] Log4j error at start up w/ 2.4.1

2001-09-28 Thread Guy Rouillier
Make sure you aren't picking up an old version of jboss.jar from somewhere.  That class is new with 2.4.0.   - Original Message - From: Hermann RANGAMANA To: [EMAIL PROTECTED] Sent: Friday, September 28, 2001 8:16 AM Subject: [JBoss-user] Log4j error at start up

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Guy Rouillier
Ah, well, that ties in perfectly with the conversation being held in this thread . Thanks for the explanation. - Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 26, 2001 1:04 AM Subject: Re: [JBoss-

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
- From: "Guy Rouillier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 8:28 PM Subject: Re: [JBoss-user] log4j system.out category > Why does JBoss use its own classes when the ones that come with log4j work > just as well? I was lear

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Guy Rouillier
tion works just fine. - Original Message - From: "Scott M Stark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 12:26 PM Subject: Re: [JBoss-user] log4j system.out category > Try this: > > # Set the JBossCategoryFactory as the d

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
No, try it. - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 9:38 AM Subject: RE: [JBoss-user] log4j system.out category > But this will print out jBoss messages at the info level, ne?

RE: [JBoss-user] log4j system.out category

2001-09-25 Thread Ferguson, Doug
But this will print out jBoss messages at the info level, ne? -Original Message- From: Scott M Stark [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 11:27 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j system.out category Try this: # Set the JBossCategoryFactory

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Scott M Stark
- From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 25, 2001 7:49 AM Subject: RE: [JBoss-user] log4j system.out category > Ok.. > > This is all great, but I never got my original question answered. > > We are goin

RE: [JBoss-user] log4j system.out category

2001-09-25 Thread Ferguson, Doug
O msgs for any categories under org.jboss.util log4j.category.Default=INFO -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 4:54 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j system.out category David Jencks <[EM

Re: [JBoss-user] log4j system.out category

2001-09-25 Thread Nicolai P Guba
David Jencks <[EMAIL PROTECTED]> writes: > include > > import org.apache.log4j.Category; > > > private Category log = Category.getInstance(MyClass.class); > //Or use a string, maybe for jsps, haven't tried > > > to log... > > log.info("my message"); > > log.warn("HI"); > catch (Exception

Re: [JBoss-user] log4j system.out category

2001-09-22 Thread Guy Rouillier
ember 22, 2001 3:10 PM Subject: Re: [JBoss-user] log4j system.out category > include > > import org.apache.log4j.Category; > > > private Category log = Category.getInstance(MyClass.class); > //Or use a string, maybe for jsps, haven't t

Re: [JBoss-user] log4j system.out category

2001-09-22 Thread David Jencks
about log4j. > I have done a little reading but I wouldn't know how to > tie into the jBoss logging. > > d. > > -Original Message- > From: Guy Rouillier [mailto:[EMAIL PROTECTED]] > Sent: Friday, September 21, 2001 11:54 PM > To: [EMAIL PROTECTED] > Subject

RE: [JBoss-user] log4j system.out category

2001-09-22 Thread Ferguson, Doug
nt: Friday, September 21, 2001 11:54 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j system.out category Are these your beans? If so, why not convert everything to log4j calls? - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)&qu

Re: [JBoss-user] log4j system.out category

2001-09-21 Thread Guy Rouillier
Are these your beans? If so, why not convert everything to log4j calls? - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 7:52 PM Subject: [JBoss-user] log4j system.out category > Is there a ca

Re: [JBoss-user] log4j system.out category

2001-09-21 Thread Scott M Stark
Default is the category. - Original Message - From: "Ferguson, Doug" <[EMAIL PROTECTED]> To: "JBoss User (E-mail)" <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 4:52 PM Subject: [JBoss-user] log4j system.out category > Is there a category specificly for stuff written to system.ou

Re: [JBoss-user] log4j

2001-08-08 Thread Guy Rouillier
Log4j is not JBoss code. You can find it at jakarta.apache.org. Thus, if you ever wanted to use it on an app server that doesn't come with it, you could just install it and use it. - Original Message - From: "Mike korcynski" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, A

Re: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Scott M Stark
]> Sent: Wednesday, July 11, 2001 1:40 AM Subject: RE: [JBoss-user] Log4j configuration file location Exception is : java.io.FileNotFoundException: Failed to find logj4 props: C:/dev/etango/conf/log4j.properties at java.lang.Throwable.(Throwable.java:96) at java.lang.E

RE: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Saint-Martin Cecile
1 10:22 > À : [EMAIL PROTECTED] > Objet : Re: [JBoss-user] Log4j configuration file location > > > It could be in a jar or on a web server on the moon. Show your mlet entry > and the resulting exception. > > - Original Message - > From: "Saint-Martin Cecile"

Re: [JBoss-user] Log4j configuration file location

2001-07-11 Thread Scott M Stark
It could be in a jar or on a web server on the moon. Show your mlet entry and the resulting exception. - Original Message - From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 11, 2001 12:56 AM Sub

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread danch
Another thing I had in mind for the old jaws code was to go through and make sure that errors get logged as errors, not debug. One place in particular that that got changed in 2.4 was in JDBCCommand - the method that executes just about any SQL was pretty much silently discarding the SQLExcept

Re: [JBoss-user] log4j or JBoss logging

2001-07-10 Thread Scott M Stark
Change to use log4j. The JBoss interface will disappear in 3.0 - Original Message - From: "Dain Sundstrom" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 12:08 PM Subject: [JBoss-user] log4j or JBoss logging > As I modify the JBossCMP code should I change the l

Re: [JBoss-user] Log4j configuration file location

2001-07-10 Thread Scott M Stark
- Original Message - From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:57 AM Subject: [JBoss-user] Log4j configuration file location > > Log4j is included in JBoss, and configuration file is log4j.propertie

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, With log4j you can separate your log messages to a separate file. I have the following entry in my log4j.properties file which logs my stuff to a new file. ### The nhigh appender log4j.appender.Nhigh=org.apache.log4j.FileAppe

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread R . Price
Thanks Paul, Fred & Scott for your replies.  If turning on the log4j service in JBoss is going to give me is logging my stuff with JBoss' stuff, then I'll stick to what we've got.  Think we want to keep them separate anyways.   Robert Price

RE: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-21 Thread Paul Austin
Title: RE: [JBoss-user] Log4j & JBoss - HowTo? Robert, I have attached two versions of jboss.conf, one is the original version that does not use the log4j.properties file and the other is my version that uses the log4j.properties file (the shorter one of the two). You can then use

Re: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-20 Thread Fred Loney
Enabling the jboss log4j service prints your app messages to the same logs as jboss and lets you configure all messages consistently using the log4j mechanism. If you continue to use your log4j adapter, the messages will share the jboss log(s). [EMAIL PROTECTED] wrote: > > I'm running JBoss 2.

Re: [JBoss-user] Log4j & JBoss - HowTo?

2001-06-20 Thread Scott M Stark
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 20, 2001 1:14 PM Subject: [JBoss-user] Log4j & JBoss - HowTo? > I'm running JBoss 2.2.1 & Jetty 3.1 RC4. > > Right now we use our own object (called ServerLog), which implements > log4j, to

Re: [JBoss-user] log4j+JBoss

2001-05-24 Thread Guy Rouillier
go away and have everything in jboss.jcml? I'm confused about what goes where. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 24, 2001 4:37 AM Subject: Re: [JBoss-user] log4j+JBoss The log4j setup is in jboss.conf (to be uncomme

Re: [JBoss-user] Log4j xml configuration in the log4j service mbean

2001-05-24 Thread Scott M Stark
Add it as a feature request at sourceforge.net - Original Message - From: Paul Austin To: [EMAIL PROTECTED] Sent: Thursday, May 24, 2001 4:46 AM Subject: [JBoss-user] Log4j xml configuration in the log4j service mbean Are there any plans to modify the Log4jService to use the DOMConfi

Re: [JBoss-user] log4j+JBoss

2001-05-24 Thread SRadford
cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] log4j+JBoss

Re: [JBoss-user] log4j+JBoss

2001-05-23 Thread Guy Rouillier
Title: RE: [JBoss-user] log4j+JBoss I have a grand total of about 18 hrs experience with log4j, so put the following remarks in that context, but what you discuss below doesn't put the power and flexibility to maximum use.  Here is the total of the statements needed in the EJB code:   i

Re: [JBoss-user] log4j slows down hypersonic startup

2001-05-23 Thread Scott M Stark
The slow startup has been fixed in main. The problem is that the startup code was looking for a log msg to determine if Hypersonic had started and it does not receive this when log4j is used. The only time I have seen the nul problem is when both the legacy logging and log4j mbeans are configured

RE: [JBoss-user] log4j+JBoss

2001-05-23 Thread Jaime, Paul
Title: RE: [JBoss-user] log4j+JBoss You should be able to use log4j the same way as you do for any class. See the examples on the Log4J docs. This is my code on a state-full session bean, //*** IMPORT AS NEEDED ***// import org.apache.log4j.Category; import org.apache.log4j.PatternLayout

RE: [JBoss-user] log4j

2001-03-27 Thread Ship, Howard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > "An enterprise bean must not use the java.io package to attempt to > access files and directories in the file system. > The file system APIs are not well-suited for business components > to access data. Business components should use a resource mana

Re: [JBoss-user] log4j

2001-03-27 Thread Fulco Muriglio
On Fri, Mar 23, 2001 at 06:22:19PM -0600, Doug Ferguson wrote: > I've seen somethings in the list about an integratred log4j > > Does anybody know the details. > > Do beans have access to the logging server or is this just for jBoss > internals? > > If the log4j won't work for beans, does anyb

RE: [JBoss-user] log4j

2001-03-27 Thread Scott M Stark
t; <[EMAIL PROTECTED]> To: "'Jay Walters '" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 27, 2001 7:25 AM Subject: RE: [JBoss-dev] RE: RE: [JBoss-user] log4j > System.out would not do. > Also, if you follow the spec tightly, you shoul

RE: [JBoss-dev] RE: RE: [JBoss-user] log4j

2001-03-27 Thread Jay Walters
From: Ferguson, Doug [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 27, 2001 10:26 AM To: 'Jay Walters ' Cc: '[EMAIL PROTECTED]' Subject: RE: [JBoss-dev] RE: RE: [JBoss-user] log4j System.out would not do. Also, if you follow the spec tightly, you should use System.out it

Re: [JBoss-dev] RE: RE: [JBoss-user] log4j

2001-03-27 Thread Rickard Öberg
> System.out would not do. > Also, if you follow the spec tightly, you should use System.out > it is not garanteed to work on all app servers. > I need this for monitoring and trending. > It has to go to disc somehow, which is agains the ejb spec. > Unless I implement some kind of logging server.

RE: [JBoss-dev] RE: RE: [JBoss-user] log4j

2001-03-27 Thread Ferguson, Doug
current plan is just to log to the db. -Original Message- From: Jay Walters To: '[EMAIL PROTECTED]' Sent: 3/27/01 8:13 AM Subject: RE: [JBoss-dev] RE: RE: [JBoss-user] log4j We also use Log4j in our beans and it works uniformly across several app servers - including our favorite JBoss

RE: [JBoss-user] log4j

2001-03-24 Thread Kevin P. Monaghan
. Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Victor Lan Sent: Friday, March 23, 2001 9:53 PM To: [EMAIL PROTECTED] Cc: jBoss Users Subject: Re: [JBoss-user] log4j Not sure what you mean by "integrated log4j". I use log4j in my beans and th

Re: [JBoss-user] log4j

2001-03-23 Thread Victor Lan
Not sure what you mean by "integrated log4j". I use log4j in my beans and they seem to work in jBoss. Victor - Original Message - From: Doug Ferguson <[EMAIL PROTECTED]> Date: Friday, March 23, 2001 7:22 pm Subject: [JBoss-user] log4j > I've seen somethings in the list about an integ