You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/05/24 01:25:04 UTC
[jira] [Created] (RANGER-1610) Modify the Logger scope and keep the
consistent info in XPolicyService.java
Qiang Zhang created RANGER-1610:
-----------------------------------
Summary: Modify the Logger scope and keep the consistent info in XPolicyService.java
Key: RANGER-1610
URL: https://issues.apache.org/jira/browse/RANGER-1610
Project: Ranger
Issue Type: Improvement
Components: admin
Affects Versions: master
Reporter: Qiang Zhang
Priority: Minor
Modify the Logger scope from Logger logger = Logger.getLogger(XPolicyService.class);
to private static final Logger logger = Logger.getLogger(XPolicyService.class);
and keep the consistent info
if (xxGroup == null) {
logger.error("No UserGroup found with this name : "+ group);
throw restErrorUtil.createRESTException(
"No Group found with name : " + group, MessageEnums.DATA_NOT_FOUND);
}
to
if (xxGroup == null) {
logger.error("No Group found with name : "+ group);
throw restErrorUtil.createRESTException(
"No Group found with name : " + group, MessageEnums.DATA_NOT_FOUND);
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)