title: Is there any way to append the same log file instead of creating new files in python 3.x?
body: <p>I'm writing a log file in my python script as below:</p>
  
  <pre><code>logfile = 'Datalog'+currtime+'.log'
  logging.basicConfig(filename=logfile,level=logging.DEBUG,format='%(asctime)s %(message)s', datefmt='%d/%m/%Y %H:%M:%S')
  logging.info(file+' is processed successfully')
  </code></pre>
  
  <p>As this job has been scheduled to run every 15 mins, its creating new log files even it has no files to process.. Is there any way to append the same log file instead of creating new files in Python 3.x? Any help would be appreciated!</p>