addDefaultFileLogger function

Add the default file logger