Allow loggin to a file