added docs for log module
fixed error log message