APPENDIX A

image

The log4j Configuration Parameters

Table A-1 presents all the configurable components in log4j and the configurable parameters associated with each component.

Table A-1. Log4j Framework Configuration

Component

Configuration Parameters

log4j

Renderer

Appender

Logger

Root

LoggerFactory (CategoryFactory)

Renderer

RenderedClass

RenderingClass

Appender

ErrorHandler

Param

Layout

Filter

Appender-ref

Name

Class

Layout

Param

Class

Filter

Param

Class

ErrorHandler

Param

Root-ref

Logger-ref

Appender-ref

Class

Level

Param

Class

Value

Logger

Name

Class

Additivity (true|false); default true

Table A-2 presents all the Appender objects and their ...

Get Pro Apache Log4j, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.