Skip to content

Commit

Permalink
Set by default enabled to true in log4j2 appender (#244)
Browse files Browse the repository at this point in the history
* Set by default enabled to true in log4j2 appender

Co-authored-by: Diego Veralli <[email protected]>
  • Loading branch information
basoko and Diego Veralli authored Jun 9, 2021
1 parent d04c888 commit c6d7d43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public static RollbarAppender createAppender(
@PluginAttribute("endpoint") final String endpoint,
@PluginAttribute("environment") final String environment,
@PluginAttribute("language") final String language,
@PluginAttribute("enabled") final boolean enabled,
@PluginAttribute(value = "enabled", defaultBoolean = true) final boolean enabled,
@PluginAttribute("configProviderClassName") final String configProviderClassName,
@PluginAttribute("name") @Required final String name,
@PluginElement("Layout") Layout<? extends Serializable> layout,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public static class TestConfigProvider implements ConfigProvider {

@Override
public Config provide(ConfigBuilder builder) {
return builder.accessToken(TEST_TOKEN).enabled(true).sender(SENDER.get()).build();
return builder.accessToken(TEST_TOKEN).sender(SENDER.get()).build();
}
}
}

0 comments on commit c6d7d43

Please sign in to comment.