def serialize_log_args(log_level_args):
    """
    Return a version of the logging arguments suitable to pass on to
    another process also using this module.
    """
    args = []
    for arg in log_level_args:
        args.extend(['-L', arg])
    return args
