code: def test_log_config_shards(pod_args, monkeypatch):
      pod_args.shards = 3
      monkeypatch.delenv(
          "JINA_LOG_LEVEL", raising=True
      )  # ignore global env
      log_config_path = os.path.join(
          cur_dir, "../../logging/yaml/file.yml"
      )
      with Deployment(
          pod_args, log_config=log_config_path, include_gateway=True
      ) as pod:
          assert pod.args.log_config == log_config_path
          assert pod.gateway_pod.args.log_config == log_config_path
          assert pod.head_args.log_config == log_config_path
          assert pod.head_pod.args.log_config == log_config_path
          for _, shards in pod.pod_args["pods"].items():
              for shard_args in shards:
                  assert shard_args.log_config == log_config_path
  
imports: import json
  import os
  import pytest
  import yaml
  from jina import Document, DocumentArray, Executor, requests
  from jina.clients.request import request_generator
  from jina.constants import __default_executor__, __default_host__
  from jina.enums import PollingType
  from jina.excepts import RuntimeFailToStart
  from jina.orchestrate.deployments import Deployment
  from jina.parsers import set_deployment_parser, set_gateway_parser
  from jina.serve.networking.utils import send_request_sync
  from tests.unit.test_helper import MyDummyExecutor
label_desc: Use image node_id 30 for calling a global function with example usage: test_log_config_shards(pod_args, monkeypatch) without return types