GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.voltdb.com — Chapter 6. Logging and Analyzing Activity in a VoltDB Database Administrator's GuideChapter 6. Logging and Analyzing Activity in a VoltDB DatabaseVoltDB uses Log4J as an open source logging service to provide access to information about database events. In actuality, the library used is Reload4j, which is a drop-in replacement for Log4J that corrects known security vulnerabilities in the original library while maintaining all of the same package names. Consequently, the commands, examples, and following documentation continue to refer to the service itself as "Log4J". By default, when using the VoltDB shell commands, the console display is limited to warnings, errors, and messages
concerning the status of the current process. A more complete listing of messages (of severity INFO and above) is written to
log files in the subfolder The advantages of using Log4J are:
Logging is important because it can help you understand the performance characteristics of your application, check for abnormal events, and ensure that the application is working as expected. Of course, any additional processing and I/O will have an incremental impact on the overall database performance. To counteract any negative impact, Log4J gives you the ability to customize the logging to support only those events and servers you are interested in. In addition, when logging is not enabled, there is no impact to VoltDB performance. With VoltDB, you can even change the logging profile on the fly without having to shutdown or restart the database. The following sections describe how to enable and customize logging of VoltDB using Log4J. This chapter is not intended as a tutorial or complete documentation of the Log4J logging service. For general
information about Log4J, see the Log4J web site at 6.1. Introduction to LoggingLogging is the process of writing information about application events to a log file, console, or other destination. Log4J uses XML files to define the configuration of logging, including three key attributes:
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |