Skip to content

Allow to disable console output #57

@stefaneidelloth

Description

@stefaneidelloth

What's the problem this feature will solve?
Do not output messages like {"type":"get_step","step":30} to console

Describe the solution you'd like
Allow to influence the output using log level. I tried to use following settings but they did not help to avoid the output of
SocketHandler of ModularVisualization class from self.write_message(self.viz_state_message):

meza_viz_logger = logging.getLogger("mesa_viz_tornado.ModularVisualization")
meza_viz_logger.setLevel(logging.WARNING)

tornado_logger = logging.getLogger("tornado")
tornado_logger.setLevel(logging.WARNING)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions