revised logging outputs and levels