This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 6fd2ba5df82494dc321348d3c5b0f9e162a83f26 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 (cherry picked from commit 609eed90698aa7abeb5bae9ae156062d32baae86) --- .../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 cfd8ab01e3..8aa9bb0f28 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"]