phanikumv commented on code in PR #68725:
URL: https://github.com/apache/airflow/pull/68725#discussion_r3440327263
##########
airflow-core/docs/authoring-and-scheduling/language-sdks/java.rst:
##########
@@ -230,6 +230,159 @@ See the Java SDK's published JavaDoc for more details.
.. TODO: (AIP-108) Put a link here once we publish the JavaDoc.
+.. _java-sdk/logging:
+
+Logging
+-------
+
+Task code can emit log records through any common Java logging framework. The
SDK ships optional
+integration libraries that forward those records to Airflow's task log store,
where they appear
+alongside the standard task output in the Airflow UI.
+
Review Comment:
```suggestion
Setting log levels
~~~~~~~~~~~~~~~~~~~
The SDK reads the standard Airflow logging configuration to decide which
records
to forward. ``AIRFLOW__LOGGING__LOGGING_LEVEL`` sets the global threshold,
and
``AIRFLOW__LOGGING__NAMESPACE_LEVELS`` overrides individual loggers using
``<logger>=<level>`` pairs separated by whitespace or commas, e.g.
``org.example=DEBUG org.noisy=WARNING``.
```
--
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]