ashb commented on a change in pull request #5681: [AIRFLOW-5065] Add colors to 
console log
URL: https://github.com/apache/airflow/pull/5681#discussion_r308722251
 
 

 ##########
 File path: airflow/config_templates/default_airflow.cfg
 ##########
 @@ -59,6 +59,8 @@ fab_logging_level = WARN
 logging_config_class =
 
 # Log format
+colored_console_log = True
+colored_log_format = %%(blue)s[%%(asctime)s] 
{{%%(filename)s:%%(lineno)d}}%%(reset)s %%(log_color)s%%(levelname)s - 
%%(message)s%%(reset)s
 
 Review comment:
   ```suggestion
   colored_log_format = [%%(blue)s%%(asctime)s%%(reset)s] 
{{%%(blue)s%%(filename)s:%%(reset)s%%(lineno)d}} 
%%(log_color)s%%(levelname)s%%(reset)s - %%(log_color)s%%(message)s%%(reset)s
   ```
   
   Is closer to your original screen shot (and I think, clearer) to read too.

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to