Adds a default logging.properties config ... that doesn't seem to work. Will debug later
This commit is contained in:
parent
7d7ab3d8e1
commit
9044d7b348
@ -2,12 +2,14 @@
|
||||
|
||||
<project name="ice4j" basedir="." default="rebuild">
|
||||
<property name="dest" value="classes"/>
|
||||
<property name="JUnit.home" value="lib"/>
|
||||
<property name="lib" value="lib"/>
|
||||
<property name="JUnit.home" value="${lib}"/>
|
||||
<property name="src" value="src"/>
|
||||
<property name="src2" value="test"/>
|
||||
<property name="junit.reports" value="junit-reports"/>
|
||||
<property name="junit.html.reports" value="${junit.reports}/html"/>
|
||||
<property name="ice4j.jar" value="ice4j.jar"/>
|
||||
|
||||
<path id="project.class.path">
|
||||
<pathelement location="${dest}"/>
|
||||
<pathelement location="${JUnit.home}/junit.jar"/>
|
||||
@ -154,6 +156,10 @@
|
||||
<java fork="true"
|
||||
classname="test.Ice"
|
||||
classpathref="project.class.path">
|
||||
|
||||
<!-- Tell java.util.logging about our logging preferences -->
|
||||
<sysproperty key="java.util.logging.config.file"
|
||||
value="lib/logging.properties"/>
|
||||
</java>
|
||||
</target>
|
||||
|
||||
|
||||
53
lib/logging.properties
Normal file
53
lib/logging.properties
Normal file
@ -0,0 +1,53 @@
|
||||
############################################################
|
||||
# Default Logging Configuration File
|
||||
#
|
||||
# You can use a different file by specifying a filename
|
||||
# with the java.util.logging.config.file system property.
|
||||
# For example java -Djava.util.logging.config.file=myfile
|
||||
############################################################
|
||||
|
||||
############################################################
|
||||
# Global properties
|
||||
############################################################
|
||||
|
||||
# "handlers" specifies a comma separated list of log Handler
|
||||
# classes. These handlers will be installed during VM startup.
|
||||
# Note that these classes must be on the system classpath.
|
||||
# By default we only configure a ConsoleHandler, which will only
|
||||
# show messages at the INFO and above levels.
|
||||
# handlers= java.util.logging.ConsoleHandler
|
||||
|
||||
|
||||
# To also add the FileHandler, use the following line instead.
|
||||
#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
|
||||
|
||||
############################################################
|
||||
# Handler specific properties.
|
||||
# Describes specific configuration info for Handlers.
|
||||
############################################################
|
||||
|
||||
# default file output is in user's home directory.
|
||||
|
||||
|
||||
|
||||
# Note that the level for the console handler may be modified by the application.
|
||||
java.util.logging.ConsoleHandler.level = FINEST
|
||||
# java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
|
||||
|
||||
|
||||
############################################################
|
||||
# Facility specific properties.
|
||||
# Provides extra control for each logger.
|
||||
############################################################
|
||||
|
||||
# Things coming from SIP Communicator
|
||||
org.ice4j.level = FINEST
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user