Varun Saxena commented on YARN-2287:

I will make the following changes :
1. Create new logSuccess and logFailure methods having an additional parameter 
indicating log level. This can be an enum in RMAuditLogger and NMAuditLogger.
2. The previous logSuccess method will continue printing logs at INFO level. 
The new method can be used to print logs at appropriate levels.

> Add audit log levels for NM and RM
> ----------------------------------
>                 Key: YARN-2287
>                 URL: https://issues.apache.org/jira/browse/YARN-2287
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: nodemanager, resourcemanager
>    Affects Versions: 2.4.1
>            Reporter: Varun Saxena
> NM and RM audit logging can be done based on log level as some of the audit 
> logs, especially the container audit logs appear too many times. By 
> introducing log level, certain audit logs can be suppressed, if not required 
> in deployment.

This message was sent by Atlassian JIRA

Reply via email to