Add logging to specified filename.