setloglevel

Syntax

setloglevel (<log level>)

Options

List of log levels are available here - http://docs.python.org/lib/module-logging.html

Description

Set the log level, which will be used in client side logging. Default log level set is logging.WARNING

Implementation

Implemented based on python logging formats

Return values:
Returns 1 on success, 0 on failure
Refer: http://webcvs.freedesktop.org/ldtp/ldtp/python/ldtp.py

Example

setloglevel (logging.WARNING)

Author:
Nagappan A <nagappan@gmail.com>


Linux Desktop Testing Project