old_contents: import logging
  
  logging.basicConfig(filename='/var/log/vimapt.log', level=logging.INFO)
  logger = logging.getLogger(__name__)
  
new_contents: import logging
  import os
  
  home_dir = os.path.expanduser('~')
  
  log_file = os.path.join(home_dir, '.vim/vimapt/log/vimapt.log')
  
  logging.basicConfig(filename=log_file, level=logging.INFO)
  logger = logging.getLogger(__name__)
  
subject: change log file location