From dev-return-10463-apmail-atlas-dev-archive=atlas.apache.org@atlas.incubator.apache.org Thu Nov 10 02:59:02 2016 Return-Path: X-Original-To: apmail-atlas-dev-archive@minotaur.apache.org Delivered-To: apmail-atlas-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0811B1956F for ; Thu, 10 Nov 2016 02:59:02 +0000 (UTC) Received: (qmail 82531 invoked by uid 500); 10 Nov 2016 02:59:02 -0000 Delivered-To: apmail-atlas-dev-archive@atlas.apache.org Received: (qmail 82481 invoked by uid 500); 10 Nov 2016 02:59:01 -0000 Mailing-List: contact dev-help@atlas.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@atlas.incubator.apache.org Delivered-To: mailing list dev@atlas.incubator.apache.org Received: (qmail 82470 invoked by uid 99); 10 Nov 2016 02:59:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2016 02:59:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5FDD11A7AC6 for ; Thu, 10 Nov 2016 02:59:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id WhHo8DOZc9r4 for ; Thu, 10 Nov 2016 02:59:00 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id 79F6E5F30E for ; Thu, 10 Nov 2016 02:58:59 +0000 (UTC) Received: (qmail 82102 invoked by uid 99); 10 Nov 2016 02:58:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2016 02:58:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 54B9A2C0005 for ; Thu, 10 Nov 2016 02:58:58 +0000 (UTC) Date: Thu, 10 Nov 2016 02:58:58 +0000 (UTC) From: "Madhan Neethiraj (JIRA)" To: dev@atlas.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (ATLAS-1281) Audit logs written to both audit.log and application.log - should only go to audit.log MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)