KevYuen opened a new pull request #13221:
URL: https://github.com/apache/airflow/pull/13221


   The default param for these causes jinja to error due to having too many 
brackets.
   
   Users who copy the default configuration will get the following error on 
startup:
   ```
   jinja2.exceptions.TemplateSyntaxError: expected token ':', got '}'
   During handling of the above exception, another exception occurred:
   Traceback (most recent call last):
     File "/usr/local/bin/airflow", line 5, in <module>
       from airflow.__main__ import main
     File "/usr/local/lib/python3.6/site-packages/airflow/__init__.py", line 
46, in <module>
       settings.initialize()
     File "/usr/local/lib/python3.6/site-packages/airflow/settings.py", line 
432, in initialize
       LOGGING_CLASS_PATH = configure_logging()
     File "/usr/local/lib/python3.6/site-packages/airflow/logging_config.py", 
line 62, in configure_logging
       raise e
     File "/usr/local/lib/python3.6/site-packages/airflow/logging_config.py", 
line 57, in configure_logging
       dictConfig(logging_config)
     File "/usr/lib64/python3.6/logging/config.py", line 802, in dictConfig
       dictConfigClass(config).configure()
     File "/usr/lib64/python3.6/logging/config.py", line 573, in configure
       '%r: %s' % (name, e))
   ValueError: Unable to configure handler 'processor': expected token ':', got 
'}'
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to