You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (JIRA)" <ji...@apache.org> on 2016/11/10 02:58:58 UTC

[jira] [Updated] (ATLAS-1281) Audit logs written to both audit.log and application.log - should only go to audit.log

     [ https://issues.apache.org/jira/browse/ATLAS-1281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Madhan Neethiraj updated ATLAS-1281:
------------------------------------
    Description: 
Audit logs generated by Atlas server currently go to both audit.log and application.log - as shown below:

audit.log:
{noformat}
2016-11-09 18:44:30,454  Audit: admin/10.0.2.2-10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z
{noformat}

application.log:
{noformat}
2016-11-09 18:44:30,453 INFO  - [qtp317986356-19 - cce44a24-d87a-43a9-87a8-73269a91ded8:] ~ Audit: admin/10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z (AuditFilter:91)
2016-11-09 18:44:30,453 INFO  - [qtp317986356-19 - cce44a24-d87a-43a9-87a8-73269a91ded8:] ~ Audit: admin/10.0.2.2-10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z (AUDIT:104)
{noformat}

This should be fixed so that audit logs will only be written to audit.log file.

  was:
Audit logs generated by Atlas server currently go to both audit.log and application.log - as shown below:

audit.log:
2016-11-09 18:44:30,454  Audit: admin/10.0.2.2-10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z

application.log:
2016-11-09 18:44:30,453 INFO  - [qtp317986356-19 - cce44a24-d87a-43a9-87a8-73269a91ded8:] ~ Audit: admin/10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z (AuditFilter:91)
2016-11-09 18:44:30,453 INFO  - [qtp317986356-19 - cce44a24-d87a-43a9-87a8-73269a91ded8:] ~ Audit: admin/10.0.2.2-10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z (AUDIT:104)


This should be fixed so that audit logs will only be written to audit.log file.


> Audit logs written to both audit.log and application.log - should only go to audit.log
> --------------------------------------------------------------------------------------
>
>                 Key: ATLAS-1281
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1281
>             Project: Atlas
>          Issue Type: Bug
>    Affects Versions: 0.7-incubating
>            Reporter: Madhan Neethiraj
>            Assignee: Madhan Neethiraj
>
> Audit logs generated by Atlas server currently go to both audit.log and application.log - as shown below:
> audit.log:
> {noformat}
> 2016-11-09 18:44:30,454  Audit: admin/10.0.2.2-10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z
> {noformat}
> application.log:
> {noformat}
> 2016-11-09 18:44:30,453 INFO  - [qtp317986356-19 - cce44a24-d87a-43a9-87a8-73269a91ded8:] ~ Audit: admin/10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z (AuditFilter:91)
> 2016-11-09 18:44:30,453 INFO  - [qtp317986356-19 - cce44a24-d87a-43a9-87a8-73269a91ded8:] ~ Audit: admin/10.0.2.2-10.0.2.2 performed request GET http://localhost:21000/api/atlas/discovery/search/dsl?limit=25&query=Asset&_=1478745825957 (10.0.2.15) at time 2016-11-10T02:44Z (AUDIT:104)
> {noformat}
> This should be fixed so that audit logs will only be written to audit.log file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)