Mostly code formatting, but also make sure we have log->ip.
Mostly code formatting, but also make sure we have log->ip.

Opmantek/open-audit,Opmantek/open-audit,Opmantek/open-audit,Opmantek/open-audit,Opmantek/open-audit