Return-Path: X-Original-To: apmail-logging-log4j-user-archive@www.apache.org Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77B9E11674 for ; Fri, 1 Aug 2014 01:18:38 +0000 (UTC) Received: (qmail 77317 invoked by uid 500); 1 Aug 2014 01:18:33 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 77276 invoked by uid 500); 1 Aug 2014 01:18:33 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 77265 invoked by uid 99); 1 Aug 2014 01:18:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 01:18:32 +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 (nike.apache.org: domain of cguillaume@hotpads.com designates 209.85.213.50 as permitted sender) Received: from [209.85.213.50] (HELO mail-yh0-f50.google.com) (209.85.213.50) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Aug 2014 01:18:29 +0000 Received: by mail-yh0-f50.google.com with SMTP id v1so2206042yhn.9 for ; Thu, 31 Jul 2014 18:18:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=JSSG4j+fTFoiRdOccFkQPsj5btrWVaZazBB0X/KkOAo=; b=J62sCMsvKou9Bb6ZQVbH6YMyygHY3wJOhqw1qiVCIfD2cvmLtaTqoyiIHwLn9KET1v 8eR1+ZfuJtifZVpEPI6h5N2MX9JMA2E8G0Tr639XsuTA/FuC7hMTQ0u9u20d4DeX6Q0r DgYO9gx0qYrRiIaAz2c5YjJiRMawvgPhOLYmG6xXRncXV3eqWN4XkDfcp0qGXK/MTsJB +WUgzCfTn6Bg87Ng70XTAi0LFP/eYBLHnwY3L6DJ0MNR0GXqTPc7Aejq0Ev3GPIS2Nav L5AFNR0mCFuAmw/Pv/YsPK3DfuSYAEEkkpfBYUI38hRGH44AUcavCt7181ntlIulf3Af YqjA== X-Gm-Message-State: ALoCoQlHssMr36GzYNlzO9l9pWfQRi7/KmJCZSzu17fFDLpZHEfRIAgssuuO+Ud8VR9R+efiUKWb MIME-Version: 1.0 X-Received: by 10.236.101.138 with SMTP id b10mr2982519yhg.91.1406855883964; Thu, 31 Jul 2014 18:18:03 -0700 (PDT) Received: by 10.170.187.7 with HTTP; Thu, 31 Jul 2014 18:18:03 -0700 (PDT) Date: Thu, 31 Jul 2014 18:18:03 -0700 Message-ID: Subject: Custom ConfigurationFactory not loaded From: =?UTF-8?Q?Cl=C3=A9ment_Guillaume?= To: Log4J Content-Type: multipart/alternative; boundary=20cf301b606f36d85d04ff87295e X-Virus-Checked: Checked by ClamAV on apache.org --20cf301b606f36d85d04ff87295e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I'm trying to use a custom ConfigurationFactory. I created and annotated it with a @Plugin and an @Order like this: @Plugin(category =3D "ConfigurationFactory", name =3D "StartupConfigurationFactory") @Order(10) public class StartupConfigurationFactory extends ConfigurationFactory{ ... } But it is never loaded (none of the 2 methods are called). If I specify the system property "log4j.configurationFactory" with the name of my class before creating a logger, my factory is successfully loaded. Did I made a mistake declaring my ConfigurationFactory ? Cl=C3=A9ment --20cf301b606f36d85d04ff87295e--