Enforce acceptable logging format.