Did I find the right examples for you? yes no

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

src/d/r/droned-HEAD/droned/droned-daemon.py   droned(Download)
owndir(config.DRONED_USER, config.JOURNAL_DIR)
if drone.DAEMONIZED:
    owndir(config.DRONED_USER, config.LOG_DIR)
 
#on linux with systemd we don't daemonize ourself
    #setup the individual service logs
    droned.logging.logToDir(
        config.LOG_DIR,
        vars(services)['EXPORTED_SERVICES'].keys()
    )

src/v/a/vanellope-HEAD/vanellope.py   vanellope(Download)
    options.parse_command_line()
 
    options.log_file_prefix = os.path.join(config.LOG_DIR, 
        '%s_%s.log' % (config.APP_NAME, options.port))
    options.log_file_max_size = config.LOG_FILE_MAX_SIZE

src/d/r/droned-HEAD/droned/services/janitizer.py   droned(Download)
SERVICECONFIG = dictwrapper({
    'JANITIZE': {
        config.LOG_DIR: [
            ('.*.log.\d+.*', int(7*len(config.AUTOSTART_SERVICES))), 
        ],

src/d/r/droned-HEAD/droned/lib/droned/applications/__init__.py   droned(Download)
                'DRONED_LABEL': label,
                'DRONED_APPLICATION': self.name,
                'DRONED_LOGDIR': config.LOG_DIR,
            }
            if thisInst.version:

src/p/o/poezio-0.8.1/src/logger.py   poezio(Download)
log = logging.getLogger(__name__)
 
from config import LOG_DIR
 
log_dir = os.path.join(LOG_DIR, 'logs')