I want to do two things:
Console logging seems to work just
This should be the problem. The name of the logger usually is your package name (unless you have specifically named it filelogger).Try
filelogger
Refer Log4j2 Doc