title: How can I fix the error in logging (config file)
body: <p>I'm facing an error and I don't know why..
  (The python file and the config file are in the same location.)</p>
  <p>The python file is as follows</p>
  <pre><code>import logging
  import logging.config
  
  logging.config.fileConfig('logging.conf')
  
  logger = logging.getLogger(__name__)
  
  logger.debug('debug')
  logger.info('info')
  logger.warning('warning')
  logger.error('error')
  logger.critical('critical')
  </code></pre>
  <p>The config file is as follows</p>
  <pre><code>[logger_root]
  level = NOTSET
  handlers = 
  
  [logger_infoLogger]
  level = INFO
  handlers = simpleHandler
  qualname = __main__
  propagate = 1
  
  
  [handler_simpleHandler]
  class = StreamHandler
  formatter = simpleFormatter
  args = (sys.stdout,)
  
  
  [formatter_simpleFormatter]
  format = %(asctime)s - %(time)s - %(levelname)-8s - %(message)s
  datefmt = 
  </code></pre>
  <p>The error is as follows</p>
  <pre><code>Traceback (most recent call last):
    File &quot;D:/Python/logging.py&quot;, line 1, in &lt;module&gt;
      import logging
    File &quot;D:/Python/logging.py&quot;, line 2, in &lt;module&gt;
      import logging.config
  ModuleNotFoundError: No module named 'logging.config'; 'logging' is not a package
  </code></pre>