[ 
https://issues.apache.org/jira/browse/RANGER-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17519424#comment-17519424
 ] 

kirby zhou commented on RANGER-3632:
------------------------------------

 

[~pradeep]  [~bpatel]  Please check it again.

[https://reviews.apache.org/r/73884/]

 

Note: there some bugs in the review system.

My new patch only adds logback-test.xml for new, do not touch the follwing 
files, but review system tell me them changed

dev-support/ranger-docker/scripts/ranger-admin-install-postgres.properties    
dev-support/ranger-docker/scripts/ranger-admin-install.properties    
security-admin/scripts/db_setup.py    
security-admin/scripts/install.properties    
security-admin/scripts/setup.sh    
security-admin/src/main/resources/conf.dist/ranger-admin-default-site.xml    
tagsync/scripts/setup.py    
unixauthservice/scripts/setup.py

 

> Improve ranger logs,  RENAME_ON_ROTATE and others
> -------------------------------------------------
>
>                 Key: RANGER-3632
>                 URL: https://issues.apache.org/jira/browse/RANGER-3632
>             Project: Ranger
>          Issue Type: Improvement
>          Components: admin, kms
>    Affects Versions: 3.0.0, 2.3.0
>            Reporter: kirby zhou
>            Assignee: kirby zhou
>            Priority: Major
>             Fix For: 3.0.0, 2.3.0
>
>
> Currently, the filename of the access-log in use has a timestamp as the 
> suffix. This brings trouble to some log monitoring and analysis programs, 
> such as "tail -f access-log"
> Need to add an option to enable tomcat's RenameOnRotate capability to fix the 
> file name of access-log.
>  
> {code:java}
> // in EmbeddedServer::start()
> valve.setRenameOnRotate(
> EmbeddedServerUtil.getConfig(ACCESS_LOG_RENAME_ON_ROTATE,  false);
> );{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to