Fix doc, log output.