Skip to content

Commit

Permalink
LoggingConfigurationParser - Recognize LoggingRule.RuleName property
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot committed May 21, 2019
1 parent df0c1b6 commit 512c962
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/NLog/Config/LoggingConfigurationParser.cs
Expand Up @@ -590,6 +590,9 @@ private LoggingRule ParseRuleElement(ILoggingConfigurationElement loggerElement)
else
ruleName = childProperty.Value;
break;
case "RULENAME":
ruleName = childProperty.Value; // Legacy Style
break;
case "LOGGER":
namePattern = childProperty.Value;
break;
Expand Down

0 comments on commit 512c962

Please sign in to comment.