Set Log Level Available log levels Messages in log files can have different log levels. Some of the
2015-05-19 14:02
561 查看
Set Log Level
Available log levels
Messages inlogfiles can have different log levels. Some of the messages are written byRobot Framework itself, but also executed keywords can
loginformation using different levels. The available log levels are:
Setting log level
By default, log messages below INFO are notlogged, but this threshold level can be changed from the command line using the--loglevel (-L) option. This option takes any of theavailable log levels as an argument, and that levelbecomes the new thresholdlevel. A special value NONE can also be used to disablelogging altogether.
Another possibility to change the log level is using the
BuiltInkeyword Set Log Level in the test data. It takesthe same arguments as the --loglevel option, and it alsoreturns the old level so that it can be restored later, for example, in a
testteardown.
"Set Log Level"keyword:
Set Log Level | level | Sets the log threshold to the specified level and returns the old level. Messages below the level will not logged. The default logging level is INFO, but it can be overridden with the command line option '--loglevel'. The available levels: TRACE, DEBUG, INFO (default), WARN and NONE (no logging). |
相关文章推荐
- How To Add/Increase The Size Of Redo Log Files In Rac Environment? (文档 ID 779306.1)
- 159 Which three types of files can be automatically placed in the flash recovery area (fast recovery
- The method onCreate in type MainActivity can only set one of public / protec
- Some text formatting may have changed in this file because the maximum number of fonts was exceeded解决办法
- Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server.
- Could not initialize master info structure; more error messages can be found in the MySQL error log
- An error message detailing the cause of this specific request failure can be found in the application event log of the
- 75.Your test database is configured to run in NOARCHIVELOG mode. One of the data files in the USERS
- Why do my text files suddenly have an additional at the end of each line?
- How to get and set the drawing order of layers in globe(获取并设置Globe图层的叠加次序:)
- Can we call the Method of a controller from another controller in asp.net MVC?
- sql异常-The used SELECT statements have a different number of columns
- ORA-30926: unable to get a stable set of rows in the source tables
- The Different Format of Date in English
- 转:InfoPath 中,如何限制 Contact Selector 控件中输入的用户数量? Validate the Contact Selector in InfoPath – Limit the number of names a user can
- Fixing the security exception : "class /"" + packageName + "/" does not match trust level of other classes in the same package"
- "Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."
- How to collect the full path name of the files in ASM diskgroups (文档 ID 888943.1)
- 14.7.2 Changing the Number or Size of InnoDB Redo Log Files 改变InnoDB Redo Log Files的数量和大小
- The hierarchy of the type LogBeforeAdvice is inconsistent