Not writing to a log file?

2002-02-08 Thread bryan hansen
I am using JBoss with log4j and it appears that it is not logging to a file. It has everything setup in the .properties files and looks right to me. I have attached the portion of the properties file that should be setting up the file ... thanks for any help. log4j.appender.Default=org.apache.log

Re: Getting rid of the log4j:Error Could not connect to remote log4j server at [localhost]

2002-02-08 Thread T Master
Look at ErrorHandler. It is more promissing in logj v1.2 though from what i read of the javadocs. I have not used it in my implementation as yet though. - Original Message - From: "Balaraman Sujatha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 6:03 PM Su

Re: AW: Best practice for using Log4j, EJB, Struts, andWebLogic 6.1 together

2002-02-08 Thread DONNIE HALE
Well you typically get faster log performance to a file. And there's much more flexibility using regular expressions than select statements. I write all kinds of short Perl scripts to do common log file parsing tasks. Donnie >>> [EMAIL PROTECTED] 02/08/02 03:48AM >>> There is a benifit, when

Re: Best practice for using Log4j, EJB, Struts,and WebLogic6.1 together

2002-02-08 Thread DONNIE HALE
I've never set up log4j programmatically - I always use a .properties or -properties.xml file. I'd probably have some kind of logging wrapper to isolate the app from Category, etc. So perhaps a static initialization block in that wrapper class would work. Donnie >>> [EMAIL PROTECTED] 02/07/0

Re: RollingFileAppenderBeanInfo Comilation Problem in VAJ3.02

2002-02-08 Thread Ceki Gülcü
Jeff, RollingFileAppenderBeanInfo is not needed. It was added sometime ago for obscure compatibility reasons. Just remove the RollingFileAppenderBeanInfo class. At 08:17 08.02.2002 -0500, you wrote: >I checked the archives but I couldn't find any references to this. Could >anyone help me pleas

RollingFileAppenderBeanInfo Comilation Problem in VAJ3.02

2002-02-08 Thread Jeff_Saremi
I checked the archives but I couldn't find any references to this. Could anyone help me please? When I import the source code into VisualAge for Java 3.02 (JDK1.1.7) I get the following two errors: RollingFileAppenderBeanInfo(): 1. The field named IGNORE_ALL_BEANINFO for type named java.beans.I

Re: How to work with custom Priorities?

2002-02-08 Thread Blondeel Thibault
Ceki Gülcü wrote: > Thibault, > > No, you definitely do not need to sub-class category. I suggest that you > run log4j with the debug option on. As in > > log4j.debug=true > log4j.category.Cat=ALERT#MyProperty, A1 > ... > > to see that the ALERT priority is being read in. > > Now, if the ALERT pr

AW: Best practice for using Log4j, EJB, Struts, and WebLogic 6.1 together

2002-02-08 Thread Simon Klaiber
There is a benifit, when you need to do a lot log analyzation or have a lot very different logging going on, you want to lok at in a convinient way without looking at 100 log files. You can just put it in a Table and do analyzes and or use a small (web-based) log-viewer program and have all choice

RE: Getting rid of the log4j:Error Could not connect to remote log4j server at [localhost]

2002-02-08 Thread JEAN-FRANCOIS DAUNE
Hi Sujatha, You can use org.apache.log4j.helpers.LogLog#setQuietMode(boolean mode) to turn off error traces. However, IMHO, there should be a mean to catch internal Log4J exceptions, for instance, in your case, to try an alternate socket server, or to disable the appender. A possible future impr

RE: Appending to a JOptionPane

2002-02-08 Thread Eric George
You can include a JTextArea *within* the JOptionPane. Then you could have the JTextAreaAppender writing to a JTextArea that is displayed on the option pane. It takes a little fiddling to make it look right (scroll bars, etc), but it is possible. The trick is that whenever a JOptionPane construc

Getting rid of the log4j:Error Could not connect to remote log4j server at [localhost]

2002-02-08 Thread Balaraman Sujatha
Hi, I am using a socketappender for my application. I get this error whenever my socket server is not running. I want to suppress this error. How can I do it, is there any easy way to do this from the configuration file itself ? Please let me know. Thanks, Sujatha. --- log4j:ERROR Cou

Re: Best practice for using Log4j, EJB, Struts,and WebLogic 6.1 together

2002-02-08 Thread Eric L. Ma
What is the benefit of using JDBCAppenders over RFAppenders for EJB related logging? To me log files are so much easier to read, and I prefer it over any database, unless there is a fundamental reason against it, such as problems related to multiple threads trying to write to the same file simult