You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm mostly running scopesim in an ipython console - very simple and old-fashioned. In order to get logging.info and logging.debug to print to the console I have to use the rather unintuitive sim.stdout_handler.setLevel("DEBUG")
as I found out after a rather lengthy search (repeated due to weak memory). Scopesim seems to offer two more intuitive ways to set the level via sim.utils.set_logger_level(which="console", level="DEBUG") or cmds["!SIM.logging.console_level"] = "DEBUG", but none of these appear to work.
The default level is WARNING. I'd prefer INFO, if only to keep the user entertained while scopesim is doing its thing (more usefully as a progress monitor). However, for notebooks this may already be too much clutter.
The text was updated successfully, but these errors were encountered:
I'm mostly running scopesim in an ipython console - very simple and old-fashioned. In order to get
logging.info
andlogging.debug
to print to the console I have to use the rather unintuitivesim.stdout_handler.setLevel("DEBUG")
as I found out after a rather lengthy search (repeated due to weak memory). Scopesim seems to offer two more intuitive ways to set the level via
sim.utils.set_logger_level(which="console", level="DEBUG")
orcmds["!SIM.logging.console_level"] = "DEBUG"
, but none of these appear to work.The default level is
WARNING
. I'd preferINFO
, if only to keep the user entertained while scopesim is doing its thing (more usefully as a progress monitor). However, for notebooks this may already be too much clutter.The text was updated successfully, but these errors were encountered: