chsa21 commented on issue #51104:
URL: https://github.com/apache/airflow/issues/51104#issuecomment-2934883085

   Hey, 
   thanks for your feedback!
   1. Yes, logging worked in version 2.10.5.
   2. We use the LocalExecutor
   3. config: 
   - base_log_folder = <path-to-airflow-folder>/logs
   - remote_logging = False
   - remote_log_conn_id = 
   - delete_local_logs = False
   - google_key_path = 
   - remote_base_log_folder = 
   - remote_task_handler_kwargs = 
   - encrypt_s3_logs = False
   - logging_level = DEBUG
   - fab_logging_level = WARNING
   - logging_config_class = 
   - colored_console_log = True
   - 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
   - colored_formatter_class = 
airflow.utils.log.colored_log.CustomTTYColoredFormatter
   - log_format = [%%(asctime)s] {%%(filename)s:%%(lineno)d} %%(levelname)s - 
%%(message)s
   - simple_log_format = %%(asctime)s %%(levelname)s - %%(message)s
   - dag_processor_log_target = file
   - dag_processor_log_format = [%%(asctime)s] [SOURCE:DAG_PROCESSOR] 
{%%(filename)s:%%(lineno)d} %%(levelname)s - %%(message)s
   - dag_processor_child_process_log_directory = 
<path-to-airflow-folder>/dag_processor (this logs are not empty)
   - log_formatter_class = airflow.utils.log.timezone_aware.TimezoneAware
   - secret_mask_adapter = 
   - min_length_masked_secret = 5
   - task_log_prefix_template = 
   - log_filename_template = dag_id={{ ti.dag_id }}/run_id={{ ti.run_id 
}}/task_id={{ ti.task_id }}/{%% if ti.map_index >= 0 %%}map_index={{ 
ti.map_index }}/{%% endif %%}attempt={{ try_number|default(ti.try_number) 
}}.log (this logs are empty)
   - task_log_reader = task
   - extra_logger_names = 
   - worker_log_server_port = 8793
   - trigger_log_server_port = 8794
   - file_task_handler_new_folder_permissions = 0o775
   - file_task_handler_new_file_permissions = 0o664
   - celery_stdout_stderr_separation = False
   - color_log_error_keywords = error,exception
   - color_log_warning_keywords = warn
   4. permissions 755
   
   Many thanks for your help and best regards


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

To unsubscribe, e-mail: [email protected]

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

Reply via email to