Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E5D36200BB1 for ; Thu, 3 Nov 2016 11:44:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id E4A72160B0C; Thu, 3 Nov 2016 10:44:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5D69A160AFF for ; Thu, 3 Nov 2016 11:44:59 +0100 (CET) Received: (qmail 31178 invoked by uid 500); 3 Nov 2016 10:44:58 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 31149 invoked by uid 99); 3 Nov 2016 10:44:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 10:44:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5A38F2C1F54 for ; Thu, 3 Nov 2016 10:44:58 +0000 (UTC) Date: Thu, 3 Nov 2016 10:44:58 +0000 (UTC) From: "Semen Boikov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-4167) Add an option to avoid printing out sensitive data into logs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 10:45:00 -0000 Semen Boikov created IGNITE-4167: ------------------------------------ Summary: Add an option to avoid printing out sensitive data in= to logs Key: IGNITE-4167 URL: https://issues.apache.org/jira/browse/IGNITE-4167 Project: Ignite Issue Type: Improvement Reporter: Denis Kholodov =20 We are seeing sensitive cache data being output in ignite debug logging. I'= ve tracked it down to at least two places: 1. GridToStringBuilder uses reflection to print all fields in cache objects= that are not annotated with @GridToStringExclude 2. GridCacheMapEntry does a direct toString() call on the value objects in = a debug log As a fabric platform, we won't always have control over the object classes = being added to/retrieved from the cache. We must always assume that all keys and values are sensitive and should not= be outputted in logs except in local debugging situations.=C2=A0To this en= d, we need a configuration option (turned OFF by default) that allows keys/= values to be written to log messages. =20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)