|SVNKIT logging enabled not showing expected logs [message #892800]
||Fri, 29 June 2012 14:08
| John Dawson
Registered: June 2012
I am writing this question with regards to the logging not working for me for svnkit. I use Oracle's JRockit (32 bit) JVM as my JRE due to the fact that the maximum heap space argument that can be passed to it has a higher limit than the limit for the regular JRE from oracle. The applications we use demand a lot of heap space. What follows is a set up of what I have already performed to enable logging. In the logging.properties file I set Control for each logger and other parts to the following -
handlers= java.util.logging.FileHandler, java.util.logging.ConsoleHandler
# Default global logging level.
# This specifies which kinds of events are logged across
# all loggers. For any given facility this global level
# can be overriden by a facility specific level
# Note that the ConsoleHandler also has a separate level
# setting to limit messages printed to the console.
.level = FINEST
# default file output is in user's home directory.
java.util.logging.FileHandler.pattern = c:/TEMP/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.level = FINEST
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
# Limit the message that are printed on the console to INFO and above.
java.util.logging.ConsoleHandler.level = FINEST
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# For example, set the com.xyz.foo logger to only log SEVERE
svnkit.level = FINEST
svnkit-network.level = FINEST
svnkit-fsfs.level = FINEST
svnkit-wc.level = FINEST
svnkit-cli.level = FINEST
I then passed a java argument through my application to the following
<jvmarg value="-Djava.util.logging.config.file=C:/Program Files (x86)/Java/jrockit-jdk1.6.0_26-R28.1.4-4.0.1/jre/lib/logging.properties"/>
In the c:/TEMP/javaxx.log output file the data did not show as FINEST but would show FINE and FINER detail. I also have seen that the Java.log file gets flushed when the application is closed and then restarted.
The Log file only contained a few kb when in fact it should have had 1000s of kb of data?
Where am I going wrong with this?
Powered by FUDForum
. Page generated in 0.01680 seconds