Minor - format code.
Fixing duplicating document see #7244
Minor - removing error_log