XmlContainer.setLogLevel |
![]() ![]() |
import com.sleepycat.dbxml.*;class XmlContainer { public static void setLogLevel(int level, boolean enabled) throws XmlException; public static void setLogCategory(int category, boolean enabled) throws XmlException; }
Berkeley DB XML can be configured to generate a stream of messages to help application debugging. The messages are categorized by subsystem, and by importance. The messages are sent to the output stream that is configured in the Berkeley DB environment associated with the XmlContainer generating the message. The output is sent to System.err if no environment is associated with the XmlContainer.
XmlContainer.LEVEL_DEBUG - Enable program execution tracing messages. XmlContainer.LEVEL_INFO - Enable informational messages. XmlContainer.LEVEL_WARNING - Enable warning messages. XmlContainer.LEVEL_ERROR - Enable fatal error messages. XmlContainer.LEVEL_ALL - Enable all debug levels.
Berkeley DB XML can be configured to generate a stream of messages to help application debugging. The messages are categorized by subsystem, and by importance. The messages are sent to the output stream that is configured in the Berkeley DB environment associated with the XmlContainer generating the message. The output is sent to System.err if no environment is associated with the XmlContainer.
XmlContainer.CATEGORY_INDEXER - Enable indexer messages. XmlContainer.CATEGORY_QUERY - Enable query processor messages. XmlContainer.CATEGORY_OPTIMIZER - Enable optimizer messages. XmlContainer.CATEGORY_DICTIONARY - Enable dictionary messages. XmlContainer.CATEGORY_CONTAINER - Enable container messages. XmlContainer.CATEGORY_ALL - Enable all messages.
![]() ![]() |
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.