interface for. From log4j you can either write an
appender mapping to java.util.logging, or use slf4j modules to channel
log4j-slf4j-java.util.logging.
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells!
-
To unsubscribe
not the one field/property containing the
binary data.. can i configure Log4j to just not log that line/property
of the xml message?
Not immediately, but you can use the XSLT implementation available in
the Java Runtime to remove the binary value from your XML before logging it.
--
Thorbjørn Ravn
of this JDK which may cause _other_ Java programs
using this JDK to unexpectantly change behaviour causing bugs that can
be very hard to find.
What is the reason for you not just having an extra jar in your classpath?
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells
Arica skrev den 24-06-2009 08:22:
90% CPU usage. I really want to know that my JVM is doing...I know I can do
hanks.
Attach to the JVM with jvisualvm (available in the Java 6 JDK)
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells
Lesley Tay skrev den 10-06-2009 04:45:
By weird I mean null characters being printed out to the log at random times:
Do these random times coincide with the machines being booted?
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells
fingerprinting
works?
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells!
-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h...@logging.apache.org
allow you to read in
these XMl snippets and see them.
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells!
-
To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-user-h
a simple
run me to test zeroconf-application which could also be run over
webstart so it is very simple to run these two applications next to each
other and see that stuff works?
That would be really great :) Thanks a lot if you do :)
Regards,
--
Thorbjørn Ravn Andersen ...plus... Tubular
be using NIS+, could that
be blocking my binding to it?
Perhaps you should learn to use the Solaris version of netstat as it can
tell you who sits on the port. It might also be a permission problem?
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells
?
To ensure stuff works you need a Connection refused response to the
telnet.
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, but for DataBase i am getting following error:-
log4j:ERROR Failed to load driver
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Is the Oracle JDBC driver available in the classpath for the class
trying to log using JDBCAppender?
--
Thorbjørn Ravn Andersen ...plus... Tubular Bells
[EMAIL PROTECTED] skrev den 16-11-2008 23:47:
The problem that I have encountered is that I have observed that sometimes the log files are getting partially wiped. I am putting this down to the fact that the JVM might be shutting down whilst the rolling activity is taking place - resulting in
RMMM skrev den 28-09-2008 05:46:
I succeeded in getting this to work (using log4j to send logging messages by
smtp over ssl).
I think it's appalling that log4j doesn't do this, and it isn't mentioned
anywhere in the
documentation. I even bought the complete manual for $20, but it doesn't say
the actual nitty gritty stuff
for later.
--
Thorbjørn Ravn Andersen ... plus... Tubular Bells!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
statements?
--
Thorbjørn Ravn Andersen ... plus... Tubular Bells!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
YesKay skrev den 21-08-2008 16:24:
Never mind... found the problem.
For the benefit of those who search the archives in the future, what was
the problem and the solution?
--
Thorbjørn Ravn Andersen ... plus... Tubular Bells
CheapLisa skrev den 11-08-2008 21:55:
I am not running inside maven (just yet but that is the next step).
Right
now I want to run
inside my IDE.
The log4j.xml file needs to be in your classpath to be found. Is it?
--
Thorbjørn Ravn Andersen ... plus
this is often done by
sending a signal to the JVM using the kill command.
--
Thorbjørn Ravn Andersen ... plus... Tubular Bells!
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
as the logging interface and use log4j as the backend.
You can then call
log.debug(Name: {} Size {}, Foo, new Integer(10));
--
Thorbjørn Ravn Andersen ... plus... Tubular Bells!
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Jeff skrev den 01-08-2008 06:41:
Well I'm not convinced that this is completely unrelated to log4j.
This set of apps has run for 8 years in one form or another and has
been scripted to survive a logout. Now, with no changes except the
introduction of log4j, the behavior has changed.
I agree
David Crisp skrev den 31-07-2008 22:23:
Hi,
I'm using a number of API's that each use Log4j somewhere internally.
I've noticed that they all seem to step on each other's logging configs.
I know for certain that I'm not the only person to be burned by this,
so I'm wondering what you
JethroXT skrev den 28-07-2008 16:31:
Surprisingly this resulted in the desired behaviour. I don't quite know why,
because there simply aren't any loggers with that names, but I anyhow I get
independent loggers, add appenders to them by every node and get single
files with only node-relevant
JethroXT skrev den 27-07-2008 19:16:
Hi,
I have a problem that maybe someone could solve:
I have a network consisting of several nodes that all have to log data
independently.
I don't know the exact number of nodes before runtime, so Loggers (or
appenders) have
to be created at runtime.
Meyer, Dave skrev den 26-07-2008 00:23:
Any help would be greatly appreciated. My program is logging to a
file and any exceptions thrown are disappearing. I am running on
Linux. The only way I can see the exception is to run the application
from the command line. It's like the log4j is
Robert Nicholson skrev den 17-07-2008 14:44:
No, it's like a file descriptor wasn't closed or something because
all of the 15th's log has been overwritten. ie. that 15'th log starts
at midnight 16th.
On Jul 16, 2008, at 3:07 PM, Thorbjørn Ravn Andersen wrote:
Robert Nicholson skrev den 16
rektide skrev den 18-07-2008 18:42:
I dont know how to get any useful information about this failure, and I
cannot discern that I am doing anything wrong. How can I get information
from log4j about its failure, and how can I debug this issue with log4j?
The configuration you listed works
Fu-Tung Cheng skrev den 23-07-2008 21:12:
This happens on hotdeploy only. Tomcat 6.0.16, jdk 1.6.0. The logging call
is just in a normal method that looks like:
The stack trace you provided does not correspond to the source of 1.2.15.
Could you please produce a stack trace when using
Sergio skrev den 21-07-2008 22:57:
Hi,
I have the annoying uncatchable ObjectNotFoundException from hibernate
on my log with big stack traces. I want to completely suppress this
exception from my log. I tried to find something about filters on
Log4J, but I think that is not the correct way
Robert Nicholson skrev den 16-07-2008 21:03:
I'm noticying right now the following situation
-rw-r--r-- 1 311170 Jul 16 14:00 name.log
-rw-r--r-- 1 455880 Jul 16 14:00 name.log.2008-07-15
What you should see is that today's log is actively overwriting yesterday's
rolled log.
So
Johannes Hoechstaedter skrev den 15-07-2008 16:20:
Hi everybody,
I am up to build a coocon webapplication, and I am using the
JDBCAppender for logging. It works quite well. My only problem is,
that when I switch on the loggin in debug mode, my application is as
fast as a snail because of
sana qadir skrev den 08-07-2008 05:18:
Despite synchronizing the time on the two machines using NTP, I am getting not
only poor resolution but also negative propagation values which are ridiculous.
Any idea about how I can get better resolution is this scenario
Sounds like you have to do a
Aggarwal, Rajat skrev den 08-07-2008 07:44:
Hi All,
Is there any way we can replace a file attached to a particular appender
using java code? I am using DailyRollingFileAppender for my purpose and
want to log to separate files depending upon certain configurations made
in the database. Can
Aggarwal, Rajat skrev den 08-07-2008 11:12:
Hi Thorbjørn
Actually, I have a created a logger instance and am adding an appender to it
through my java code. So, I am not sure if I still need to make configuration
entries in log4j.properties file. If you want, I can also send across the piece
[EMAIL PROTECTED] skrev den 08-07-2008 12:02:
Hi,
I am using DailyRollingFile Appender for manage my log.
but i want to backup just the last 5 days?
is that possible to do that?
The DailyRollingFileAppender does not keep track of versions back in
time, so it cannot do what you want. I would
Jacob Kjome skrev den 07-07-2008 08:11:
logging name each time it is used. You'll have do add a constructor that takes
a
logger name, such as...
public SQLStatements(String loggerName) {...}
And then each time you use this helper class, pass in the logger name to use.
For
instance...
Camer38 skrev den 03-07-2008 15:15:
Instead I got an log4j warning:
log4j:WARN No appenders could be found for logger
(curam.tools.upgradehelper.util.SQLStatements).
This sounds like your configuration file is not picked up. Try running
with -Dlog4j.debug=true to see what is happening.
Camer38 skrev den 03-07-2008 15:25:
My assumption was that if I run one of the class
curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter I would got all
the logs from that class and all the classes used internally by
curam.tools.upgradehelper.ieg.QuestionSequenceOrderConverter in the
37 matches
Mail list logo