Max logging in the security layer.