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
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
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
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
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
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
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
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
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
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
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
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
12 matches
Mail list logo