Log input for graylog users login attempts

Hi Jan,

Should I append the code to the end of log4j2.xml file or just extract what is inside <appenders> and <loggers> and add it to these tags in the log4j2.xml?

Also, is the restaccess.log file automatically created? In case not, when creating it, what permissions should I assign to it? Who should the file owner be? Thanks in advance.