Make env data logging optional
Make env data logging optional


Former-commit-id: 89a40753ec1b3f102f095c313d711175d0585dbf
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin