Logging and statistics

Log files and statistics provide useful troubleshooting information.