Subject | Logging |
---|---|
Author | William L. Thomson Jr. |
Post date | 2003-06-23T21:47:08Z |
The default logging settings for Jaybird are driving me nutz, and I am
getting really tired of seeing
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: log/test.log (No such file or directory)
+ the stack trace
Now on my servers I have
export CATALINA_OPTS="-server -Xmx128m -DFBLog4j=false"
At one point that did work, but has not for a long time now.
On a different machine I have
export JAVA_OPTS="-DFBLog4j=false"
Neither of those work.
I have tried to change the settings of the log4j.properties file in the
firebirdjmx.jar from DEBUG to NONE.
Still nothing.
I then removed that file entirely from the jar. That at least reduced
the output to
log4j:WARN No appenders could be found for logger
(org.firebirdsql.jgds.GDS_Impl).
log4j:WARN Please initialize the log4j system properly.
No more stack trace.
How can I disable all logging? Further more why is this the default? Why
is the default so hard to change or over ride?
I hope the default setting can be changed on this, as it is a real pain.
Also for the record I have nothing against log4j or Jaybird using it. I
have several apps that use and depend on log4j. None of them are that
hard to configure or control as Jaybird.
Why is Jaybird's log4j.prop file put inside a jar making it difficult to
get at and modify?
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
3548 Jamestown Ln.
Jacksonville, FL 32223
Phone/Fax 904.260.2445
http://www.obsidian-studios.com
getting really tired of seeing
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: log/test.log (No such file or directory)
+ the stack trace
Now on my servers I have
export CATALINA_OPTS="-server -Xmx128m -DFBLog4j=false"
At one point that did work, but has not for a long time now.
On a different machine I have
export JAVA_OPTS="-DFBLog4j=false"
Neither of those work.
I have tried to change the settings of the log4j.properties file in the
firebirdjmx.jar from DEBUG to NONE.
Still nothing.
I then removed that file entirely from the jar. That at least reduced
the output to
log4j:WARN No appenders could be found for logger
(org.firebirdsql.jgds.GDS_Impl).
log4j:WARN Please initialize the log4j system properly.
No more stack trace.
How can I disable all logging? Further more why is this the default? Why
is the default so hard to change or over ride?
I hope the default setting can be changed on this, as it is a real pain.
Also for the record I have nothing against log4j or Jaybird using it. I
have several apps that use and depend on log4j. None of them are that
hard to configure or control as Jaybird.
Why is Jaybird's log4j.prop file put inside a jar making it difficult to
get at and modify?
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios, Inc.
3548 Jamestown Ln.
Jacksonville, FL 32223
Phone/Fax 904.260.2445
http://www.obsidian-studios.com