Did I find the right examples for you? yes no

All Samples(53)  |  Call(0)  |  Derive(0)  |  Import(53)
A rotating, browsable log file.

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/doc/core/examples/rotatinglog.py   hortonworks-sandbox(Download)
 
from twisted.python import log
from twisted.python import logfile
 
# rotate every 100 bytes

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/doc/core/examples/rotatinglog.py   oh-mainline(Download)
 
from twisted.python import log
from twisted.python import logfile
 
# rotate every 100 bytes

src/t/w/Twisted-13.2.0/doc/core/examples/rotatinglog.py   Twisted(Download)
 
from twisted.python import log
from twisted.python import logfile
 
# rotate every 100 bytes

src/t/w/twisted-network-programming-essentials-examples-HEAD/Chapter7-Logging/ex3-log_rotation.py   twisted-network-programming-essentials-examples(Download)
from twisted.python import log
from twisted.python import logfile
 
# Log to /tmp/test.log ... test.log.N, rotating every 100 bytes.
f = logfile.LogFile("test.log", "/tmp", rotateLength=100)

src/z/o/zope.app.twisted-3.5.0/src/twisted/application/app.py   zope.app.twisted(Download)
import sys, os, pdb, getpass, traceback, signal
 
from twisted.python import runtime, log, usage, reflect, failure, util, logfile
from twisted.persisted import sob
from twisted.application import service, reactors

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/application/app.py   hortonworks-sandbox(Download)
import sys, os, pdb, getpass, traceback, signal, warnings
 
from twisted.python import runtime, log, usage, failure, util, logfile
from twisted.python.versions import Version
from twisted.python.reflect import qual

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/application/app.py   oh-mainline(Download)
import sys, os, pdb, getpass, traceback, signal, warnings
 
from twisted.python import runtime, log, usage, failure, util, logfile
from twisted.python.versions import Version
from twisted.python.reflect import qual

src/m/y/mythbox-HEAD/resources/lib/twisted/twisted/application/app.py   mythbox(Download)
import sys, os, pdb, getpass, traceback, signal, warnings
 
from twisted.python import runtime, log, usage, failure, util, logfile
from twisted.python.versions import Version
from twisted.python.reflect import qual

src/t/w/Twisted-13.2.0/twisted/application/app.py   Twisted(Download)
from operator import attrgetter
 
from twisted.python import runtime, log, usage, failure, util, logfile
from twisted.python.versions import Version
from twisted.python.reflect import qual, namedAny

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/application/app.py   SubliminalCollaborator(Download)
from operator import attrgetter
 
from twisted.python import runtime, log, usage, failure, util, logfile
from twisted.python.versions import Version
from twisted.python.reflect import qual, namedAny

  1 | 2 | 3 | 4 | 5 | 6  Next