Skip to content

Commit

Permalink
Fixed logging - now if appender is selected, the IDM_LOG is not used …
Browse files Browse the repository at this point in the history
…any more (additivity=false).
  • Loading branch information
mederly committed Sep 18, 2015
1 parent 469df2b commit b7f4c40
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -278,7 +278,7 @@ private static String prepareConfiguration(LoggingConfigurationType config) {
sb.append("\"");
//if logger specific appender is defined
if (null != logger.getAppender() && !logger.getAppender().isEmpty()) {
sb.append(">\n");
sb.append(" additivity=\"false\">\n");
for (String appenderName : logger.getAppender()) {
sb.append("\t\t<appender-ref ref=\"");
sb.append(appenderName);
Expand Down Expand Up @@ -328,7 +328,7 @@ private static void generateAuditingLogConfig(AuditingConfigurationType auditing
sb.append("\"");
//if logger specific appender is defined
if (auditing != null && auditing.getAppender() != null && !auditing.getAppender().isEmpty()) {
sb.append(">\n");
sb.append(" additivity=\"false\">\n");
for (String appenderName : auditing.getAppender()) {
sb.append("\t\t<appender-ref ref=\"");
sb.append(appenderName);
Expand Down

0 comments on commit b7f4c40

Please sign in to comment.