Lets assume that I have Log4j2 xml configuration similar to
<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Properties>
<Property name="company.log.folder">.</Property>
</Properties>
<Appenders>
<RollingFile name="mainFile" fileName="${sys:company.log.folder}/main.log"
filePattern="archive-logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.log.zip">
<PatternLayout>
<Pattern>%d [%t] %-5p %c - %m%n</Pattern>
</PatternLayout>
<Policies>
<SizeBasedTriggeringPolicy size="10MB"/>
</Policies>
</RollingFile>
</Appenders>
<Loggers>
<Root level="info">
<AppenderRef ref="mainFile"/>
</Root>
</Loggers>
</Configuration>
Mostly I am interested in two parameters here - level and size. So, is there any difference if I write INFO instead of info or 10mb instead of 10MB? What about other parameters?
This is a relative part from the log4j2 documentation: