You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Shilun Fan (Jira)" <ji...@apache.org> on 2024/01/27 08:37:00 UTC
[jira] [Updated] (HADOOP-18653) LogLevel servlet to determine log impl before using setLevel
[ https://issues.apache.org/jira/browse/HADOOP-18653?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shilun Fan updated HADOOP-18653:
--------------------------------
Hadoop Flags: Reviewed
Target Version/s: 3.4.0
> LogLevel servlet to determine log impl before using setLevel
> ------------------------------------------------------------
>
> Key: HADOOP-18653
> URL: https://issues.apache.org/jira/browse/HADOOP-18653
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: common
> Affects Versions: 3.4.0
> Reporter: Viraj Jasani
> Assignee: Viraj Jasani
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.4.0
>
>
> LogLevel GET API is used to set log level for a given class name dynamically. While we have cleaned up the commons-logging references, it would be great to determine whether slf4j log4j adapter is in the classpath before allowing client to set the log level.
> Proposed changes:
> * Use slf4j logger factory to get the log reference for the given class name
> * Use generic utility to identify if the slf4j log4j adapter is in the classpath before using log4j API to update the log level
> * If the log4j adapter is not in the classpath, report error in the output
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org