Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2008-06-26 19:56:40
Size: 388
Editor: gtang
Comment:
Revision 3 as of 2008-06-26 19:57:38
Size: 380
Editor: gtang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
 . By default, only the error log will be printed out for user.  . By default, only the error log will be printed out.
Line 5: Line 5:
 . What use need to do to change log level is:  . What user need to do to change log level is:

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 is:
  • >>>Log.logger().set_level(Log.LogLevel.WARNING_LOG)

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