I'm having an odd problem and don't know where to look for troubleshooting
purposes.
I have an Eclipse RCP application. I'm attempting to transition logging
from a file to a database (Oracle). When running my application via Eclipse
events are logged to the database as expected. When running my
My configuration is definitely being used -- I have two appender references
(RollingFile and JDBC) under the root logger and events are being written
to the file appender.
Unfortunately, setting status="debug" had no effect. That might be because
log4j sends those messages to the console and
This might help:
https://logging.apache.org/log4j/2.x/manual/configuration.html#StatusMessages
Gary
On Wed, Aug 9, 2017 at 1:56 PM, Michael Carman
wrote:
> My configuration is definitely being used -- I have two appender references
> (RollingFile and JDBC) under the
It feels like your Log4j configuration is not being used. I would:
- Use the latest version 2.8.2
- Turn on Log4j debugging in both your config file with status="DEBUG" and
also on the command line with "-Dlog4j.debug=true" (but I think this last
one might only work in 2.9-SNAPSHOT)
Gary
On
Why can’t the class for the connection factory be included in the class path?
Ralph
> On Aug 9, 2017, at 2:17 PM, Michael Carman wrote:
>
> After adding dest= to my configuration I can see the status messages
> from log4j. I'm getting a ClassNotFoundException when
After adding dest= to my configuration I can see the status messages
from log4j. I'm getting a ClassNotFoundException when it tries to load my
connection factory. I've seen these sorts of shenanigans from Eclipse
before. (i.e. classes being found when running under Eclipse that aren't
when running