log config and minor log changes