let create_file_logger conf shard_id = match output_file ~extra_subst:["shard_id", shard_id] conf with | Some fn -> file_logger conf shard_id fn | None -> null_logger