def set_evm_verbose_logging(): logger = logging.getLogger("eth.vm.computation.Computation") setup_DEBUG2_logging() logger.setLevel("DEBUG2")
TangerineWhistleVM, SpuriousDragonVM, ByzantiumVM, ConstantinopleVM, PetersburgVM, IstanbulVM, MuirGlacierVM, BerlinVM, LondonVM, ) # # Setup DEBUG2 level logging. # # This needs to be done before the other imports setup_DEBUG2_logging() # Uncomment this to have logs from tests written to a file. This is useful for # debugging when you need to dump the VM output from test runs. """ import datetime import logging import os from eth_utils.logging import DEBUG2_LEVEL_NUM @pytest.yield_fixture(autouse=True) def _file_logging(request): logger = logging.getLogger('eth') level = DEBUG2_LEVEL_NUM