new structure and configuration to handle console log