Minor bug fix for Log