Added an appender to log into a file.