Correct logfile updating.

svn path=/trunk/; revision=2461