Skip to content

Log4j2 examples are missing enabled parameter, leading to disabled rollbar integration #270

@st-h

Description

@st-h

I just discovered that the log4j2 docs are missing some crucial configuration, which leads to rollbar not reporting any errors at all.

An additional parameter enabled has been added to the log4j2 config, which seems to be false per default ( d619d02 ).

Unless this property is explicitly enabled, one never receives any rollbar messages.

This parameter should either be added to the examples or the enabled parameter should have a default value of true, so that rollbar is enabled unless it is explicitly disabled.

I had to set logging to debug, then rollbar logs that it is disabled. Looking through the source, I found that there are more parameters than mentioned in the docs.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions