Fix logging output for file changes