From general-return-2122-apmail-logging-general-archive=logging.apache.org@logging.apache.org Thu Dec 5 07:29:07 2013 Return-Path: X-Original-To: apmail-logging-general-archive@www.apache.org Delivered-To: apmail-logging-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD3A110781 for ; Thu, 5 Dec 2013 07:29:07 +0000 (UTC) Received: (qmail 24534 invoked by uid 500); 5 Dec 2013 07:29:06 -0000 Delivered-To: apmail-logging-general-archive@logging.apache.org Received: (qmail 24386 invoked by uid 500); 5 Dec 2013 07:29:00 -0000 Mailing-List: contact general-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Logging General" List-Id: Delivered-To: mailing list general@logging.apache.org Received: (qmail 24370 invoked by uid 99); 5 Dec 2013 07:28:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 07:28:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ralph.goers@dslextreme.com designates 209.85.214.170 as permitted sender) Received: from [209.85.214.170] (HELO mail-ob0-f170.google.com) (209.85.214.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Dec 2013 07:28:54 +0000 Received: by mail-ob0-f170.google.com with SMTP id wp18so17471495obc.1 for ; Wed, 04 Dec 2013 23:28:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:message-id:mime-version :subject:date:references:to:in-reply-to; bh=hoy1L6Enw3379LRZTL+NhCHTFXjRE465iqqw1PVlTW0=; b=TavjjyHg4GxnjhjKp6SmAABj4tLGkz7EBG/grNqqtUe49fKKGK4ZZeATbpt2fSewgD Gl1d+ghDE1/eegkqETZfi6LZj5dRXL8WprEo+ozo9LPs3pN/6JJXU4lTmKFjofCD/x/L 7BqiYLpuggo9sbfQiLap4I8a2cq3xnKjgnpzBLOlJ4g2rUt3ErKYfHNqBgCpV+H9DcG5 +xDNlpsnIyPFw50dqYaBSV+um37uKairx3BGmBewfjEa2kcC+MrNXHD4KJ3JgnnntiGw XoqrtzEB2Wh09cloqvmZB94AveQtHNN7BM4QXFRavnDujbfhfOmOsvSG8rx4G04m0LoN XMPw== X-Gm-Message-State: ALoCoQnUPjUvmx6+DMrAF/4pqf4/Vsp87wMMGde9f8TnMgmAfe04FPQmbsJnxq+zRNVjPKbA75IG X-Received: by 10.60.33.74 with SMTP id p10mr66698344oei.18.1386228512601; Wed, 04 Dec 2013 23:28:32 -0800 (PST) Received: from [192.168.1.92] (99-180-69-21.lightspeed.irvnca.sbcglobal.net. [99.180.69.21]) by mx.google.com with ESMTPSA id o13sm13868212oer.8.2013.12.04.23.28.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 04 Dec 2013 23:28:31 -0800 (PST) From: Ralph Goers Content-Type: multipart/alternative; boundary="Apple-Mail=_75F7C253-E061-4B9B-885A-F0990313CCF8" Message-Id: <0C5CC413-AD5E-409F-B589-B3CD4E1B00EE@dslextreme.com> Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: Why not make our AbstractLogger implement Serializable? Date: Wed, 4 Dec 2013 23:28:29 -0800 References: To: Logging General In-Reply-To: X-Mailer: Apple Mail (2.1822) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_75F7C253-E061-4B9B-885A-F0990313CCF8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 I agree it should be Serializable. Logback=92s Logger is and it seems to = me that having it not be Serializable is likely going to cause problems = for users. Ralph On Dec 4, 2013, at 10:02 AM, Gary Gregory = wrote: > Hi All, >=20 > I just ran into a case when I want to serialize an object tree = sprinkled with Loggers. >=20 > Why not make our AbstractLogger implement Serializable? >=20 > Gary >=20 > --=20 > E-Mail: garydgregory@gmail.com | ggregory@apache.org=20 > Java Persistence with Hibernate, Second Edition > JUnit in Action, Second Edition > Spring Batch in Action > Blog: http://garygregory.wordpress.com=20 > Home: http://garygregory.com/ > Tweet! http://twitter.com/GaryGregory --Apple-Mail=_75F7C253-E061-4B9B-885A-F0990313CCF8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 I = agree it should be Serializable. Logback=92s Logger is and it seems to = me that having it not be Serializable is likely going to cause problems = for = users.

Ralph


On = Dec 4, 2013, at 10:02 AM, Gary Gregory <garydgregory@gmail.com> = wrote:

Hi All,

I just ran into = a case when I want to serialize an object tree sprinkled with = Loggers.

Why not make our AbstractLogger implement = Serializable?

Gary

= --Apple-Mail=_75F7C253-E061-4B9B-885A-F0990313CCF8--