Skip to content

Commit

Permalink
Allow 'false' value for emails notification configuration param
Browse files Browse the repository at this point in the history
  • Loading branch information
arkanovicz committed Jan 23, 2020
1 parent a4b7cf8 commit 7d51d68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ under the License.
</parent>
<groupId>com.republicate</groupId>
<artifactId>webapp-slf4j-logger</artifactId>
<version>1.5.1</version>
<version>1.5.2</version>
<packaging>jar</packaging>
<name>webapp-slf4j-logger</name>
<description>SLF4J backend to log to a WebApp's ServletContext</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ public static void setServletContext(ServletContext ctx)
case "format": format = new Format(value); break;
case "notification":
{
if ("false".equals(value))
{
continue;
}
String tokens[] = value.split(":");
if (tokens.length != 6)
{
Expand Down

0 comments on commit 7d51d68

Please sign in to comment.