You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2012/06/19 06:33:42 UTC
[jira] [Commented] (OOZIE-34) connProps should mask DB username and
password when logging != DEBUG
[ https://issues.apache.org/jira/browse/OOZIE-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396506#comment-13396506 ]
Harsh J commented on OOZIE-34:
------------------------------
Hi Robert,
Patch looks good to me. Did you also manually test it out to view the log?
> connProps should mask DB username and password when logging != DEBUG
> --------------------------------------------------------------------
>
> Key: OOZIE-34
> URL: https://issues.apache.org/jira/browse/OOZIE-34
> Project: Oozie
> Issue Type: Improvement
> Reporter: Esteban Gutierrez
> Assignee: Robert Kanter
> Attachments: 34.patch
>
>
> Currently Oozie writes the DB user name and password in oozie.log when debugging level is set to INFO:
> 2011-08-29 12:25:17,547 INFO StoreService:525 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] JPA configuration: DriverClassName=com.mysql.jdbc.Driver,Url=jdbc:mysql://localhost:3306/oozie,Username=dbuser,Password=dbpassword,MaxActive=10
> Oozie should be able to mask the DB user and password like this:
> 2011-08-29 12:25:17,547 INFO StoreService:525 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] JPA configuration: DriverClassName=com.mysql.jdbc.Driver,Url=jdbc:mysql://localhost:3306/oozie,Username=*****,Password=****,MaxActive=10
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira