title: log4J2 logs are not written to the file
body: <p>I want to store logs in 2 different files. On the one hand, my logs are not written to the files, but the files are created and on the other hand, only "error" and "fatal"  -levels are displayed in the console. 
  <strong>property file:</strong> </p>
  
  <pre><code>name=PropertiesConfig
  property.filename = logs
  appenders = console, user, system
  
  appender.console.type = Console
  appender.console.name = STDOUT
  appender.console.layout.type = PatternLayout
  appender.console.layout.pattern = [%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %c{1} - %msg%n
  
  
  
  appender.user.type = File
  appender.user.name = LOGFILE
  appender.user.fileName=${filename}/user.log
  appender.user.layout.type=PatternLayout
  appender.user.layout.pattern=[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] c{1} - %msg%n
  appender.user.MaxFileSize=5120KB
  appender.user.MaxBackupIndex=10
  
  
  appender.system.type = File
  appender.system.name = LOGFILE
  appender.system.fileName=${filename}/system.log
  appender.system.layout.type=PatternLayout
  appender.system.layout.pattern=[%-5level] %d{yyyy-MM-dd HH:mm:ss.SSS} [%t] c{1} - %msg%n
  appender.system.MaxFileSize=5120KB
  appender.system.MaxBackupIndex=10
  
  
  
  
  Loggers = file
  logger.file.name = de.pares.int_plan
  logger.file.level = All
  logger.file.appenderRefs = file
  logger.file.appenderRef.file.ref  = LOGFILE
  </code></pre>
  
  <p>This is how I create the loggers:</p>
  
  <pre><code>private static Logger userLog = LogManager.getLogger("user");
  private static Logger systemLog = LogManager.getLogger("system");
  </code></pre>
  
  <p>Use theem like this:</p>
  
  <pre><code>userLog.debug("UserLogger: This is a debug message");
  userLog.info("UserLogger: This is an info message");
  userLog.warn("UserLogger: This is a warn message");
  userLog.error("UserLogger: This is an error message");
  userLog.fatal("UserLogger: This is a fatal message");
  
  systemLog.debug("SystemLogger: This is a debug message");
  systemLog.info("SystemLogger: This is an info message");
  systemLog.warn("SystemLogger: This is a warn message");
  systemLog.error("SystemLogger: This is an error message");
  systemLog.fatal("SystemLogger: This is a fatal message");
  </code></pre>
  
  <p>what im doing wrong?</p>