|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /proc/self/root/proc/self/root/usr/lib/python2.4/logging/ |
Upload File : |
m
=Ec @ s d Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d k
Z
y
d k Z Wn e j
o
d Z n Xd Z d Z d Z d Z d Z d e i f d YZ d e f d
YZ d e f d YZ d
e i f d YZ d e f d YZ d e i f d YZ d e i f d YZ d e i f d YZ d e i f d YZ d e i f d YZ d e f d YZ d S( s
Additional handlers for the logging package for Python. The core package is
based on PEP 282 and comments thereto in comp.lang.python, and influenced by
Apache's log4j system.
Should work under Python versions >= 1.5.2, except that source line
information is not available unless 'sys._getframe()' is.
Copyright (C) 2001-2004 Vinay Sajip. All Rights Reserved.
To use, simply 'import logging' and log away!
Ni<# i=# i># i?# i t BaseRotatingHandlerc B s# t Z d Z e d Z d Z RS( s
Base class for handlers that rotate log files at a certain point.
Not meant to be instantiated directly. Instead, use RotatingFileHandler
or TimedRotatingFileHandler.
c C sF t d j o
d } n t i i | | | | | | _ | | _ d S( sA
Use the specified filename for streamed logging
N( t codecst Nonet encodingt loggingt FileHandlert __init__t selft filenamet mode( R R R R ( ( t&