From dev-return-93441-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Thu Apr 19 11:27:07 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 182A4180638 for ; Thu, 19 Apr 2018 11:27:06 +0200 (CEST) Received: (qmail 54611 invoked by uid 500); 19 Apr 2018 09:27:05 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 54164 invoked by uid 99); 19 Apr 2018 09:27:05 -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, 19 Apr 2018 09:27:04 +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 845971A038C for ; Thu, 19 Apr 2018 09:27:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] 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 BX7SJxNOZ7k4 for ; Thu, 19 Apr 2018 09:27:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 218375F5FB for ; Thu, 19 Apr 2018 09:27:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 53F00E0CAB for ; Thu, 19 Apr 2018 09:27:02 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 07708241C7 for ; Thu, 19 Apr 2018 09:27:02 +0000 (UTC) Date: Thu, 19 Apr 2018 09:27:02 +0000 (UTC) From: "Jussi Lyytinen (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KAFKA-6804) Event values should not be included in log messages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jussi Lyytinen created KAFKA-6804: ------------------------------------- Summary: Event values should not be included in log messages Key: KAFKA-6804 URL: https://issues.apache.org/jira/browse/KAFKA-6804 Project: Kafka Issue Type: Improvement Components: streams Affects Versions: 1.0.0 Reporter: Jussi Lyytinen In certain error situations, event values are included in log messages: {code:java} 2018-04-19 08:00:28 [my-component-37670563-39be-4fcb-92e1-02f115aca43c-Stre= amThread-2] ERROR o.a.k.s.p.i.AssignedTasks - stream-thread [my-component-3= 7670563-39be-4fcb-92e1-02f115aca43c-StreamThread-2] Failed to commit stream= task 1_1 due to the following error: org.apache.kafka.streams.errors.StreamsException: task [1_1] Abort sending = since an error caught with a previous record (key [my-key] value [my-value]= ... {code} In some environments, this is highly undesired behavior since the values ca= n=C2=A0contain sensitive information. Error logs are usually collected to s= eparate systems=C2=A0not meant for storing such information (e.g. patient o= r financial data). -- This message was sent by Atlassian JIRA (v7.6.3#76005)