Minor fixes for 'doLogs()'.