[ 
https://issues.apache.org/jira/browse/HADOOP-1185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488451
 ] 

Owen O'Malley commented on HADOOP-1185:
---------------------------------------

I'd suggest putting a little servlet into StatusHttpServer so that all of the 
servers will respond to the same url. Something like:

http://$host:$port/setLogLevel?log=org.apache.hadoop.mapred.TaskTracker&level=debug

will push that server into logging the TaskTracker class at the debug level.

> dynamically change dfs log levels
> ---------------------------------
>
>                 Key: HADOOP-1185
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1185
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: dhruba borthakur
>         Assigned To: dhruba borthakur
>
> I would like to switch on the debug log level of the namenode without 
> restarting it. This is needed to analyze a production system.
> Can somebody please advice on how to set the loglevel dyncamically on a 
> running namenode? I was thinking of enhancing dfsadmin to make an RPC to the 
> namenode to set a specified logging level. But the apache common logging APi 
> does not export an API to change logging levels.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to