From log4j-user-return-29158-apmail-logging-log4j-user-archive=logging.apache.org@logging.apache.org Thu Jan 3 13:49:13 2019 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 D19B918576 for ; Thu, 3 Jan 2019 13:49:13 +0000 (UTC) Received: (qmail 27119 invoked by uid 500); 3 Jan 2019 13:49:13 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 27061 invoked by uid 500); 3 Jan 2019 13:49:13 -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 27046 invoked by uid 99); 3 Jan 2019 13:49:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2019 13:49:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D407ED0BE6 for ; Thu, 3 Jan 2019 13:49:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.301 X-Spam-Level: ** X-Spam-Status: No, score=2.301 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=2, KAM_LAZY_DOMAIN_SECURITY=1, KAM_SHORT=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jICLbBPrmJyZ for ; Thu, 3 Jan 2019 13:49:10 +0000 (UTC) Received: from nwkspammx1.nwk01.hosting.com (nwkspammx1.nwk01.hosting.com [208.112.18.36]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E910E60D94 for ; Thu, 3 Jan 2019 13:41:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nwkspammx1.nwk01.hosting.com (Postfix) with ESMTP id C9B03686AAB for ; Thu, 3 Jan 2019 08:41:42 -0500 (EST) X-Virus-Scanned: amavisd-new at nwk01.hosting.com Received: from nwkspammx1.nwk01.hosting.com ([127.0.0.1]) by localhost (nwkspammx1.nwk01.hosting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ovFcwzspdwdp for ; Thu, 3 Jan 2019 08:41:37 -0500 (EST) Received: from win-mail18.hostmanagement.net (win-mail18.hostmanagement.net [76.12.236.183]) by nwkspammx1.nwk01.hosting.com (Postfix) with ESMTPS id 88523605079 for ; Thu, 3 Jan 2019 08:41:37 -0500 (EST) X-SmarterMail-Authenticated-As: ed.zappulla@bsgsystems.com Received: from zaplap (c-98-221-237-6.hsd1.nj.comcast.net [98.221.237.6]) by win-mail18.hostmanagement.net with SMTP; Thu, 3 Jan 2019 08:41:30 -0500 From: "Ed Zappulla" To: Subject: Lohg4j2 Schema Errors Date: Thu, 3 Jan 2019 08:41:24 -0500 Message-ID: <000501d4a36a$04fc4710$0ef4d530$@bsgsystems.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0006_01D4A340.1C2813D0" X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdSjab200dy36khKRi+jqYcE4Orq1A== Content-Language: en-us X-Exim-Id: 000501d4a36a$04fc4710$0ef4d530$ ------=_NextPart_000_0006_01D4A340.1C2813D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I'm having trouble getting my log4j2.xml file to conform to the schema. Without the schema specification I don't have any errors but with it in place I am getting: cvc-complex-type.2.4.d: Invalid content was found starting with element 'File'. No child element is expected at this point. cvc-complex-type.2.4.d: Invalid content was found starting with element 'Logger'. No child element is expected at this point. The logging works fine without the schema but Eclipse is warning that its missing so I would like to have it in place. This is the log4j2.xml file I'm using: Any help would be appreciated. Thank you .ed ------=_NextPart_000_0006_01D4A340.1C2813D0--