Table of Contents

How to Setup Logging

ICEpdf uses the Java Util Logging system. The following is a snippet from the http://anonsvn.icesoft.org/repo/icepdf/trunk/icepdf/examples/logging/logging.properties which is our default logging configuration file.

# Specify the handlers to create in the root logger
# (all loggers are children of the root logger)
# The following creates two handlers
handlers = java.util.logging.ConsoleHandler, java.util.logging.FileHandler

# Set the default logging level for the root logger
.level = INFO

# Set the default logging level for new ConsoleHandler instances
#java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.level = INFO

# Set the default logging level for new FileHandler instances
java.util.logging.FileHandler.level = INFO

# Set the default formatter for new ConsoleHandler instances
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

org.icepdf.core.pobjects.fonts.level = INFO
org.icepdf.level = INFO

javax.level = OFF
java.level = OFF
win.level = OFF
sun.level = OFF
awt.level = OFF

Use the following system property to enable the logging file when developing with ICEpdf.


To see all of ICEpdf debugging output change the following value java.util.logging.ConsoleHandler.level from INFO to FINEST.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.