Differences between revisions 4 and 5
Revision 4 as of 2008-06-26 19:57:53
Size: 377
Editor: gtang
Comment:
Revision 5 as of 2008-11-26 04:42:28
Size: 377
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

How to change log level to print out more message at run time?

  • EMAN2's log has four levels: ERROR_LOG, WARNING_LOG, DEBUG_LOG, VARIABLE_LOG.
  • By default, only the error log will be printed out.
  • This log level can be changed at runtime at Python level.
  • What user need to do to change log level:
  • >>>Log.logger().set_level(Log.LogLevel.WARNING_LOG)

EMAN2LogLevel (last edited 2008-11-26 04:42:28 by localhost)