Table of Contents

Search

  1. Preface
  2. Introduction to Dynamic Data Masking Administration
  3. Authentication
  4. Security
  5. Connection Management
  6. JDBC Client Configuration
  7. ODBC Client Configuration
  8. Configuration for MicroStrategy
  9. Access Control
  10. Logs
  11. High Availability
  12. Server Control
  13. Performance Tuning
  14. Troubleshooting
  15. Appendix A: Database Keywords

Administrator Guide

Administrator Guide

Custom Appender

Custom Appender

Create a custom appender to log events in a custom format by using log4j classes.
A custom appender can use any log4j appender class and you can specify multiple properties for the appender.
The built-in appenders have hidden properties that you cannot modify. A custom appender is an appender that either has a class that does not match a built-in appender class or a property that does not match the hidden properties of the built-in class. For example, the Rolling File appender has a hidden encoding property set to UTF-8. You can create a custom rolling file appender that has a different encoding property.
The following image shows a custom appender that uses the console appender class:
The custom appender has layout.pattern, type, target, and layout.type properties defined. The Appender Class property is set to log4j.core.appender.ConsoleAppender.
You can specify the name, layout pattern, type, target, layout type, and appender class properties in the custom appender.

0 COMMENTS

We’d like to hear from you!