Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/o/DoubleBarrel-HEAD/doubleBarrel/server.py   DoubleBarrel(Download)
        serverFile = os.path.join(os.path.dirname(__file__), 'logs', 'server', '%s.log' % serverName)
        # Make sure that directory exists.
        common._createDir(os.path.dirname(serverFile))
        # Create a rotating file handler and set it for the logger.
        fileHandler = logging.handlers.RotatingFileHandler(serverFile)