Support for logging in a file.