Minor bug fix for Log
Minor bug fix for Log