I\'m using log4j2 in my application.
What I want is everything up to \'debug\' to go to console, everything up to \'info\' to go to myapp.log, and ONLY \'info\' to g
If you specify INFO in the appender-ref, the appender will receive INFO, WARN, ERROR and FATAL events. You can further restrict to only INFO by filtering out WARN, ERROR and FATAL level events: