title: Logging in a centralised way
body: <p>I have 2 independent scripts in which I use the logging module. When running them, I would like to keep the logs in a centralised way, in the sense of having a single folder for all of them. These are the scripts:</p>
  <p>foo.py</p>
  <pre><code>import logging
  
  
  def foo():
      logging.info('MY INFO AUX IN FOO')
  </code></pre>
  <p>bar.py</p>
  <pre><code>import logging
  
  
  def bar():
      logging.info('MY INFO AUX IN BAR')
  </code></pre>
  <p>How could I set up a YAML file that told the scripts to store the logs in the same place? Any ideas/best practices are very welcome.</p>