using Airflow 1.10.4 configured logging in a file name - captains_log.py:
captains_log.py
LOG_FORMAT_S = (\'pid %(process)d - %(asctime)s - %(levelname)s - \'