Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/landscape/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/landscape/log.pyc


Tc@s@ddlZddlZdZdZdZdZdS(iNcCstj|r9t|jdd}d|j|fStj|rrt|jdd}d|j|fSd|jj|jjfS(so
    Returns a fully-qualified name for the specified object, such as
    'landscape.log.format_object()'.
    t is%s.%s()is%s.%s(tinspecttismethodtreprtsplitt
__module__t
isfunctiont	__class__t__name__(tobjecttname((s1/usr/lib/python2.7/dist-packages/landscape/log.pyt
format_objectscCs|sd}ndt|S(Ngs%.02fs(tfloat(tseconds((s1/usr/lib/python2.7/dist-packages/landscape/log.pytformat_deltas	cCs|sd}ndt|S(Ngs%.02f%%(R(tpercent((s1/usr/lib/python2.7/dist-packages/landscape/log.pytformat_percents	cCsxmtjjD]\}t|tjr|jz)|jjt|j	|j
|_Wd|jXqqWtjddS(s
    This closes and reopens the underlying files in the logging module's
    root logger. If called after logrotate (or something similar) has
    moved the old log file out of the way, this will start writing to a new
    new log file...
    NsLandscape Logs rotated(
tloggingt	getLoggerthandlerst
isinstancetFileHandlertacquiretstreamtclosetopentbaseFilenametmodetreleasetinfo(thandler((s1/usr/lib/python2.7/dist-packages/landscape/log.pytrotate_logs"s

	(RRRRRR(((s1/usr/lib/python2.7/dist-packages/landscape/log.pyt<module>s