This is an automated email from the ASF dual-hosted git repository.

taragolis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 609eed9069 Fix the broken file link (#34826)
609eed9069 is described below

commit 609eed90698aa7abeb5bae9ae156062d32baae86
Author: Shiqi Guo <39219120+guoshiqi0...@users.noreply.github.com>
AuthorDate: Tue Oct 10 17:44:17 2023 +0800

    Fix the broken file link (#34826)
    
    * fix doc link
    
    * add link to manual substitution
---
 .../logging-monitoring/advanced-logging-configuration.rst               | 2 +-
 docs/conf.py                                                            | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/docs/apache-airflow/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
 
b/docs/apache-airflow/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
index 21ae801b64..925013af8b 100644
--- 
a/docs/apache-airflow/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
+++ 
b/docs/apache-airflow/administration-and-deployment/logging-monitoring/advanced-logging-configuration.rst
@@ -30,7 +30,7 @@ can also customize it and configure it as you want by 
overriding Python logger c
 be configured by providing custom logging configuration object. Some 
configuration options require
 that the logging config class be overwritten. You can do it by copying the 
default
 configuration of Airflow and modifying it to suit your needs. The default 
configuration can be seen in the
-`airflow_local_settings.py template 
<https://github.com/apache/airflow/blob/|airflow_version|/airflow/config_templates/airflow_local_settings.py>`_
+`airflow_local_settings.py template 
<https://github.com/apache/airflow/blob/|airflow-version|/airflow/config_templates/airflow_local_settings.py>`_
 and you can see the loggers and handlers used there. Except the custom loggers 
and handlers configurable there
 via the ``airflow.cfg``, the logging methods in Airflow follow the usual 
Python logging convention,
 that Python objects log to loggers that follow naming convention of 
``<package>.<module_name>``.
diff --git a/docs/conf.py b/docs/conf.py
index ff2ebf6226..c1760eb9c9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -334,6 +334,7 @@ if PACKAGE_NAME == "apache-airflow":
     manual_substitutions_in_generated_html = [
         "installation/installing-from-pypi.html",
         "installation/installing-from-sources.html",
+        
"administration-and-deployment/logging-monitoring/advanced-logging-configuration.html",
     ]
 if PACKAGE_NAME.startswith("apache-airflow-providers"):
     manual_substitutions_in_generated_html = ["example-dags.html", 
"operators.html", "index.html"]

Reply via email to