Have you tried creating and reading the log file...?