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 5D173200B48 for ; Mon, 18 Jul 2016 09:44:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5B911160A87; Mon, 18 Jul 2016 07:44:05 +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 A62D8160A65 for ; Mon, 18 Jul 2016 09:44:04 +0200 (CEST) Received: (qmail 76117 invoked by uid 500); 18 Jul 2016 07:44:03 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 76107 invoked by uid 99); 18 Jul 2016 07:44:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Jul 2016 07:44:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 4F67CC000A for ; Mon, 18 Jul 2016 07:44:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.173 X-Spam-Level: ** X-Spam-Status: No, score=2.173 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5FZEDkidp69H for ; Mon, 18 Jul 2016 07:44:01 +0000 (UTC) Received: from mbob.nabble.com (mbob.nabble.com [162.253.133.15]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTP id DE4CB60E72 for ; Mon, 18 Jul 2016 07:44:00 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mbob.nabble.com (Postfix) with ESMTP id 377712CACE70 for ; Mon, 18 Jul 2016 00:20:44 -0700 (PDT) Date: Mon, 18 Jul 2016 00:26:50 -0700 (PDT) From: zshamrock To: user@ignite.apache.org Message-ID: <1468826810353-6339.post@n6.nabble.com> In-Reply-To: References: <1468767786314-6334.post@n6.nabble.com> Subject: Re: Removing or overwriting cache value, but still able to get it from the cache MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Mon, 18 Jul 2016 07:44:05 -0000 Another question is how I can configure the logger from the cache store used? I use Logback, so /private static final Logger logger = LoggerFactory.getLogger(SensorsToSessionsCacheStore.class);/, and do debug call: @Override public final V load(final K key) throws CacheLoaderException { if (logger.isDebugEnabled()) { logger.debug(String.format("Loading %s for %s", this.getClass().getSimpleName(), key)); } final V value = doLoad(key); if (logger.isDebugEnabled()) { logger.debug(String.format("Loaded value %s for %s in %s", value, key, this.getClass().getSimpleName())); } return value; } And I run Ignite with -v (so not in quiet mode), but I don't see any debug statement related to the store is happening in the log. Do I need (can I?) to configure it somehow to show debug logs for my cache store classes (which are package in jar which is place in ignite/libs directory). -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Removing-or-overwriting-cache-value-but-still-able-to-get-it-from-the-cache-tp6334p6339.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.