os.chmod(args.log, 0o644)
handler = RotatingFileHandler(args.log, maxBytes=5*1024*1024)
handler.setFormatter(logging.Formatter("(%(process)d) [%(asctime)s] %(message)s",
os.chmod(args.log, 0o644)
handler = RotatingFileHandler(args.log, maxBytes=5*1024*1024)
handler.setFormatter(logging.Formatter("(%(process)d) [%(asctime)s] %(message)s",