[
https://issues.apache.org/jira/browse/RANGER-3601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487869#comment-17487869
]
LinZhongwei edited comment on RANGER-3601 at 2/7/22, 5:25 AM:
--------------------------------------------------------------
kms]# head access_log2022-02-06.20.log
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
was (Author: linzw):
kms]# head access_log2022-02-06.20.log
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
x.x.x.x - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
10.12.184.94 - - [06/Feb/2022:20:00:00 -0800] "POST
/kms/v1/keyversion/gopayedl%400/_eek" 200 90
> Add a switch on the access_log fils that are generated by EmbeddedServer
> ------------------------------------------------------------------------
>
> Key: RANGER-3601
> URL: https://issues.apache.org/jira/browse/RANGER-3601
> Project: Ranger
> Issue Type: Improvement
> Components: kms
> Affects Versions: 2.1.0
> Reporter: LinZhongwei
> Priority: Minor
>
> Hi
> We are using 2 rangerKMS instances to protect our data in our cluster. But
> we find that too much access log files are generated by embedded server. I
> find that the switch of access log config is hardcoded in the source code.
> Can you add a switch property such as 'ranger.accesslog.enabled' to let users
> to decide whether to enable access logging?
> Because the size of access log are about 50GB everyday.. We want to decrease
> the IO on the server.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)