I'm using log4j2 and am trying to have different log messages go to different appenders within the same logger. This case is described exactly in the log4j2 FAQ - but I need to use the log4j2.properties configuration file instead of the XML configuration given in the example.
Another example with an XML configuration file is given here - essentially, I don't know how to specify the lines
<AppenderRef ref = "Console" level ="info"/>
<AppenderRef ref = "hibernateFile" level = "debug"/>
in log4j2.properties syntax.