This document describes how to alter fnlogging.properties file output file pathnames and logging levels. A sample fnlogging.properties file is appended for convenient reference.
Edit the file pathname in following line, replacing c:\\eProcess.txt.
filenet.vw.base.logging.FileHandler.pattern = c:\\eProcess.txt
Note: A single backslash in the pathname must be represented by a double backslash in the above line.
The default API logging levels are set to one among: {ALL,FINE,FINEST,INFO,WARNING,SEVERE}, for each of the logging.level lines, in the bottom section of the file. To expand api logging to the WARNING level, for example, set the filenet.vw.api.level line in the fnlogging.properties file as follows:
filenet.vw.api.level = WARNING
############################################################
# 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
############################################################
# 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.
handlers= filenet.vw.base.logging.FileHandler, filenet.vw.base.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= INFO
.level= FINE
############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################
#filenet.vw.base.logging.FileHandler.pattern = %h/java%u.log
filenet.vw.base.logging.FileHandler.pattern = c:\\eProcess.txt
filenet.vw.base.logging.FileHandler.limit = 5000000
filenet.vw.base.logging.FileHandler.count = 1
filenet.vw.base.logging.FileHandler.formatter = filenet.vw.base.logging.SimpleFormatter
# Limit the message that are printed on the console to INFO and above.
filenet.vw.base.logging.ConsoleHandler.level = ALL
#INFO
filenet.vw.base.logging.ConsoleHandler.formatter = filenet.vw.base.logging.SimpleFormatter
############################################################
# Facility specific properties.
# Provides extra control for each logger.
############################################################
filenet.vw.base.logging.level = ALL
filenet.vw.idm.level = ALL
filenet.vw.server.level = ALL
filenet.vw.api.level = SEVERE
filenet.vw.base.level = SEVERE