You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Deepak Khopade (Jira)" <ji...@apache.org> on 2020/11/02 18:50:00 UTC

[jira] [Created] (LOG4J2-2955) SizeBasedTriggeringPolicy with space between the number and the unit does not work e.g. 1 MB does not work but 1MB does work.

Deepak Khopade created LOG4J2-2955:
--------------------------------------

             Summary: SizeBasedTriggeringPolicy with space between the number and the unit does not work e.g. 1 MB does not work but 1MB does work.
                 Key: LOG4J2-2955
                 URL: https://issues.apache.org/jira/browse/LOG4J2-2955
             Project: Log4j 2
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 2.12.0
            Reporter: Deepak Khopade


Hello There,
Recently we found that when we add an appender for {{RollingFile}} , using {{<SizeBasedTriggeringPolicy size="1 MB"/>}}  does not work; meaning when {{1<space>MB}} and when there is no space i.e. {{<SizeBasedTriggeringPolicy size="1MB"/>}} it works as expected.
Any thoughts if it's a bug?

Thanks,
Deepak



--
This message was sent by Atlassian Jira
(v8.3.4#803005)