LDTP  3.5.0
 All Pages
addlogger

Syntax

addlogger('<log configuration file>')

Description

Add more python logging formats with a configuration file format based on python logging format

ImplementationDetails

Implemented based on python logging formats

Return values
Returns1 on success

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtp/__init__.py

Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtp/__init__.py

Windows: https://github.com/ldtp/cobra/blob/master/CobraWinLDTP/ldtp/__init__.py

Example

addlogger('/etc/ldtp.conf')

Configration

Refer: Python logging format configuration file

Author
Nagappan Alagappan nagap.nosp@m.pan@.nosp@m.gmail.nosp@m..com


Linux Desktop Testing Project