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 D9662189B5 for ; Mon, 8 Feb 2016 22:04:41 +0000 (UTC) Received: (qmail 29276 invoked by uid 500); 8 Feb 2016 22:04:41 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 29221 invoked by uid 500); 8 Feb 2016 22:04:41 -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 29142 invoked by uid 99); 8 Feb 2016 22:04:41 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2016 22:04:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A532A1A00E5 for ; Mon, 8 Feb 2016 22:04:40 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id t9C4HutJzqpe for ; Mon, 8 Feb 2016 22:04:29 +0000 (UTC) Received: from mail-ig0-f176.google.com (mail-ig0-f176.google.com [209.85.213.176]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id D0A32429BC for ; Mon, 8 Feb 2016 22:04:28 +0000 (UTC) Received: by mail-ig0-f176.google.com with SMTP id 5so68558700igt.0 for ; Mon, 08 Feb 2016 14:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dNqa3NQBgwL5S5KR6ka0CRKDk4BSrNoUg0LKl7dT9D8=; b=ooyS1LQf2npw229f+BS8i0qvJANDdhfy41pmCPQ1hZ6008ZrXUlrdI8piMZaLPGo23 JJn84xMHqyrK49FTR5A9oPlmavrD1cKoi8VevU98FXNAzFYO84DsnPcxRcDY4ce0G8yk yMnekRTCAz2VxTaYNoSthY9t7ijuaVxB07d0OPhWlj8LJpEPyxPOZrJUjo+Jwyhg7B0U R4+399zTwngrz1dBa/shDpbqhBgY1AyFhvV1PM5fm3MuxrTrlhGIjtlq+FvgR4PD+xC3 apiPYLJNzCbkslaYTbWeDrloiv4VscpPGipiJ/J2ioETF/vtoy7WLatzFDxg0vTrDZIx 6Idg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=dNqa3NQBgwL5S5KR6ka0CRKDk4BSrNoUg0LKl7dT9D8=; b=iOx96eblJ10eOWfRGtbLebPONxv+B2XdX1UJIOG9S/8iMEQ42wcyrurMk5H/HAXuzM jpvmHG/WE/Fq8HXCOj3KnSzUY3S8LQQ5w64Yzl7COfpNbmWBdi0d/K6fWF4bc+7igJFS cas0oc3VjdusFqWYiU8k6opZzBbXu1G89+EwYXDAGONOV12t2rA5DK6EgU5ZdRQ551FF r34jmKFrqCXUW4twU6Oz8GMAXvuO42LMtaZvc9TqSN9FPFgORT8oaCNuJzjJI4kdWEGC Sw6YZdijLS6m2bh2b3L8tCutYdhyDrUqGuGxxOXwaO3MJSEl2y4UHqJ+wNHYy5853XTe 4Vww== X-Gm-Message-State: AG10YOT1cuCgMYZCQT9Q4ho79nEu5dekD9wHlqQ1BUNefzvBqdf3DpBCyn1+apfEhpkZYrUmfnt2GdAuclO7BQ== MIME-Version: 1.0 X-Received: by 10.50.17.39 with SMTP id l7mr1186853igd.18.1454969068361; Mon, 08 Feb 2016 14:04:28 -0800 (PST) Received: by 10.79.17.71 with HTTP; Mon, 8 Feb 2016 14:04:28 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Feb 2016 15:04:28 -0700 Message-ID: Subject: Re: Fastest Log4j2 configuration for multiple java process / multiple machine production environment From: Tara Czutno To: Log4J Users List Content-Type: multipart/alternative; boundary=089e01184e627aa201052b4962de --089e01184e627aa201052b4962de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Okay I will look into using Flume Appender. Thx. On Mon, Feb 8, 2016 at 1:32 PM, Ralph Goers wrote: > This is a very long email and with all the formatting lost it is very har= d > to read. > > I am assuming you don=E2=80=99t mind losing a few log events since you ar= e using > UDP. > > We have discussed creating a more robust version of the SocketAppender > that uses Netty or a similar framework. This would provide connection > pooling and error recovery. I would want to use that but send messages in > batches. The FlumeAppender can do this today and would typically write t= o > centralized Flume node that would then write the the file. > > Ralph > > > On Feb 8, 2016, at 1:16 PM, Tara Czutno > wrote: > > > > We have 4 java processes running on machine01, 1 java process on > machine02, > > 2 java processes on machine03. We would like them to all write logging > to > > the same file on machine01. What is the best config to accomplish > > this? We need production grade very fast high throughput logging. > > > > > > Right now we have a 5th process on machine01, ecplogger, that runs the > > UdpSocketServer and uses RollingRandomAccessFile Appender wrapped with > > Failover Appender. All other processes on machine01, machine02 and > > machine03 write to a Socket Appender wrapped with an Async appender > wrapped > > with a Failover Appender. > > > > > > It works sort of, however I get these errors in the main java process o= n > > machine01 and I get lots of logging to the Failover appender: > > > > 2016-02-05 18:23:06,123 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-05 18:34:50,746 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-05 18:47:25,233 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-05 18:47:25,234 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-05 18:47:25,235 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-05 18:47:25,236 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-06 01:56:44,647 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-06 06:02:13,308 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-07 06:40:36,386 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-07 06:40:39,511 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-07 07:29:49,367 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-07 07:49:20,286 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-07 08:43:46,598 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-07 09:00:21,995 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-07 10:37:52,279 AsyncAppender-local_process_async ERROR Unable = to > > write to stream UDP:ecplogger:6000 for appender local_process_socket > > > > 2016-02-07 12:04:59,733 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > 2016-02-07 12:59:39,306 Log4j2-AsyncLogger[AsyncContext@18b4aac2]1 ERRO= R > > Appender local_process_async is unable to write primary appenders. queu= e > is > > full > > > > > > ---------------------------------------- > > > > Configuration: > > > > Every java process is started with: > > > > > -DLog4jContextSelector=3Dorg.apache.logging.log4j.core.async.AsyncLoggerC= ontextSelector > > \ > > > > > -DAsyncLogger.ExceptionHandler=3Dcom.twc.ctg.ecp.service.EcpExceptionHand= ler \ > > > > > > The ecplogger java process that runs UdpSocketServer uses the config: > > > > > > > > > > > > monitorInterval=3D"60"> > > > > > > > > > > > > > > > > > > > > > fileName=3D"/opt/twc/logs/ecp.log" > > filePattern=3D"/opt/twc/logs/ecp.log.%d{yyyy-MM-dd}" append=3D"true" > > bufferSize=3D"524288" ignoreExceptions=3D"false"> > > > > > > > > %d{ISO8601} %-14mdc{application} %-5level [%t] %logger - > > %msg%n > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > %logger - %msg%n"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > All other java processes use the config: > > > > > > > > > > > > > > > > > > > > > protocol=3D"UDP" immediateFail=3D"false" immediateFlush=3D"true" > > reconnectionDelayMillis=3D"1000" connectTimeoutMillis=3D"10000" > > ignoreExceptions=3D"false"> > > > > > > > > > > > > > > > > > > > bufferSize=3D"32768" errorRef=3D"STDERR" ignoreExceptions=3D"false" > > includeLocation=3D"false"> > > > > > > > > > > > > > > > > > > > %logger - %msg%n"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > name=3D"com.twc.ctg.ecp.service.history.HouseholdHistorySummaryQueue" > > level=3D"warn"/> > > > > > name=3D"com.twc.ctg.ecp.persistence.mappers.HouseholdHistorySummaryMapp= er" > > level=3D"warn"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ____________________________________ > > > > Log4j2 output on debug > > > > > > Ecplogger, the UdpSocketServer: > > > > 2016-02-05 18:17:36,228 main DEBUG Initializing configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.server.xml] > > > > 2016-02-05 18:17:36,274 main DEBUG Installed script engines > > > > 2016-02-05 18:17:39,738 main DEBUG Oracle Nashorn Version: 1.8.0_65, > > Language: ECMAScript, Threading: Not Thread Safe, Compile: true, Names: > > {nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, > ecmascript} > > > > 2016-02-05 18:17:39,903 main DEBUG Groovy Scripting Engine Version: 2.0= , > > Language: Groovy, Threading: MULTITHREADED, Compile: true, Names: > {groovy, > > Groovy} > > > > 2016-02-05 18:17:39,903 main DEBUG PluginManager 'Core' found 97 plugin= s > > > > 2016-02-05 18:17:39,907 main DEBUG PluginManager 'Level' found 0 plugin= s > > > > 2016-02-05 18:17:39,958 main DEBUG Starting 1 Log4j2Scheduled threads > > > > 2016-02-05 18:17:39,980 main DEBUG PluginManager 'Lookup' found 13 > plugins > > > > 2016-02-05 18:17:39,983 main DEBUG Building Plugin[name=3Dlayout, > > class=3Dorg.apache.logging.log4j.core.layout.PatternLayout]. > > > > 2016-02-05 18:17:40,089 main DEBUG PluginManager 'TypeConverter' found = 23 > > plugins > > > > 2016-02-05 18:17:40,332 main DEBUG > > PatternLayout$Builder(pattern=3D"%d{ISO8601} %-14mdc{application} %-5le= vel > > [%t] %logger - %msg%n", PatternSelector=3Dnull, > > Configuration(log4j2.server.xml), Replace=3Dnull, charset=3D"null", > > alwaysWriteExceptions=3D"null", noConsoleNoAnsi=3D"null", header=3D"nul= l", > > footer=3D"null") > > > > 2016-02-05 18:17:40,347 main DEBUG PluginManager 'Converter' found 38 > > plugins > > > > 2016-02-05 18:17:40,486 main DEBUG Building > > Plugin[name=3DTimeBasedTriggeringPolicy, > > > class=3Dorg.apache.logging.log4j.core.appender.rolling.TimeBasedTriggerin= gPolicy]. > > > > 2016-02-05 18:17:40,585 main DEBUG createPolicy(interval=3D"null", > > modulate=3D"null") > > > > 2016-02-05 18:17:40,585 main DEBUG Building Plugin[name=3DPolicies, > > > class=3Dorg.apache.logging.log4j.core.appender.rolling.CompositeTriggerin= gPolicy]. > > > > 2016-02-05 18:17:40,587 main DEBUG > > createPolicy(=3D{TimeBasedTriggeringPolicy(nextRolloverMillis=3D0, > interval=3D1, > > modulate=3Dfalse)}) > > > > 2016-02-05 18:17:40,587 main DEBUG Building Plugin[name=3Dappender, > > > class=3Dorg.apache.logging.log4j.core.appender.RollingRandomAccessFileApp= ender]. > > > > 2016-02-05 18:17:40,628 main DEBUG > > createAppender(fileName=3D"/opt/twc/logs/ecp.log", > > filePattern=3D"/opt/twc/logs/ecp.log.%d{yyyy-MM-dd}", append=3D"true", > > name=3D"RollingRandomAccessFile", immediateFlush=3D"null", > bufferSize=3D"524288", > > > Policies(CompositeTriggeringPolicy(policies=3D[TimeBasedTriggeringPolicy(= nextRolloverMillis=3D0, > > interval=3D1, modulate=3Dfalse)])), Strategy=3Dnull, PatternLayout(%d{I= SO8601} > > %-14mdc{application} %-5level [%t] %logger - %msg%n), Filter=3Dnull, > > ignoreExceptions=3D"false", advertise=3D"null", advertiseURI=3D"null", > > Configuration(log4j2.server.xml)) > > > > 2016-02-05 18:17:40,672 main DEBUG Starting > RollingRandomAccessFileManager > > /opt/twc/logs/ecp.log > > > > 2016-02-05 18:17:40,673 main DEBUG PluginManager 'FileConverter' found = 2 > > plugins > > > > 2016-02-05 18:17:40,727 main DEBUG Building Plugin[name=3Dlayout, > > class=3Dorg.apache.logging.log4j.core.layout.PatternLayout]. > > > > 2016-02-05 18:17:40,729 main DEBUG > > PatternLayout$Builder(pattern=3D"%d{ISO8601} %-14mdc{application} %-5le= vel > > [%t] %logger - %msg%n", PatternSelector=3Dnull, > > Configuration(log4j2.server.xml), Replace=3Dnull, charset=3D"null", > > alwaysWriteExceptions=3D"null", noConsoleNoAnsi=3D"null", header=3D"nul= l", > > footer=3D"null") > > > > 2016-02-05 18:17:40,730 main DEBUG Building Plugin[name=3Dappender, > > class=3Dorg.apache.logging.log4j.core.appender.ConsoleAppender]. > > > > 2016-02-05 18:17:40,754 main INFO Log4j appears to be running in a > Servlet > > environment, but there's no log4j-web module available. If you want > better > > web container support, please add the log4j-web JAR to your web archive > or > > server lib directory. > > > > 2016-02-05 18:17:40,755 main DEBUG PluginManager 'Converter' found 38 > > plugins > > > > 2016-02-05 18:17:40,760 main DEBUG Starting OutputStreamManager > > SYSTEM_OUT.false-2 > > > > 2016-02-05 18:17:40,830 main DEBUG > > ConsoleAppender$Builder(PatternLayout(%d{ISO8601} %-14mdc{application} > > %-5level [%t] %logger - %msg%n), Filter=3Dnull, target=3D"SYSTEM_ERR", > > name=3D"STDERR", follow=3D"null", ignoreExceptions=3D"null") > > > > 2016-02-05 18:17:40,830 main DEBUG Starting OutputStreamManager > > SYSTEM_ERR.false > > > > 2016-02-05 18:17:40,831 main DEBUG Building Plugin[name=3DAppenderRef, > > class=3Dorg.apache.logging.log4j.core.config.AppenderRef]. > > > > 2016-02-05 18:17:40,831 main DEBUG createAppenderRef(ref=3D"STDERR", > > level=3D"null", Filter=3Dnull) > > > > 2016-02-05 18:17:40,873 main DEBUG Building Plugin[name=3Dfailovers, > > class=3Dorg.apache.logging.log4j.core.appender.FailoversPlugin]. > > > > 2016-02-05 18:17:40,876 main DEBUG createFailovers(=3D{STDERR}) > > > > 2016-02-05 18:17:40,876 main DEBUG Building Plugin[name=3Dappender, > > class=3Dorg.apache.logging.log4j.core.appender.FailoverAppender]. > > > > 2016-02-05 18:17:40,899 main ERROR appender Failover has no parameter > that > > matches element Failovers > > > > 2016-02-05 18:17:40,899 main DEBUG createAppender(name=3D"Failover", > > primary=3D"RollingRandomAccessFile", =3D{[STDERR]}, > > retryIntervalSeconds=3D"null", Configuration(log4j2.server.xml), > Filter=3Dnull, > > ignoreExceptions=3D"null") > > > > 2016-02-05 18:17:40,900 main DEBUG Building Plugin[name=3Dappenders, > > class=3Dorg.apache.logging.log4j.core.config.AppendersPlugin]. > > > > 2016-02-05 18:17:40,930 main DEBUG > > createAppenders(=3D{RollingRandomAccessFile, STDERR, Failover primary= =3Dnull, > > failover=3D{STDERR}}) > > > > 2016-02-05 18:17:40,941 main DEBUG Building Plugin[name=3DAppenderRef, > > class=3Dorg.apache.logging.log4j.core.config.AppenderRef]. > > > > 2016-02-05 18:17:40,942 main DEBUG createAppenderRef(ref=3D"Failover", > > level=3D"null", Filter=3Dnull) > > > > 2016-02-05 18:17:40,942 main DEBUG Building Plugin[name=3Droot, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig$RootLogger]. > > > > 2016-02-05 18:17:40,943 main DEBUG createLogger(additivity=3D"null", > > level=3D"ALL", includeLocation=3D"null", =3D{Failover}, =3D{}, > > Configuration(log4j2.server.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:40,970 main DEBUG Building Plugin[name=3Dloggers, > > class=3Dorg.apache.logging.log4j.core.config.LoggersPlugin]. > > > > 2016-02-05 18:17:40,971 main DEBUG createLoggers(=3D{root}) > > > > 2016-02-05 18:17:40,972 main DEBUG Configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.server.xml] initialized > > > > 2016-02-05 18:17:40,972 main DEBUG Starting configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.server.xml] > > > > 2016-02-05 18:17:41,030 main DEBUG Started configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.server.xml] OK. > > > > 2016-02-05 18:17:41,031 main DEBUG Shutting down OutputStreamManager > > SYSTEM_OUT.false-1 > > > > 2016-02-05 18:17:41,031 main DEBUG Stopped > > org.apache.logging.log4j.core.config.DefaultConfiguration@3339ad8e OK > > > > 2016-02-05 18:17:41,570 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > > > > 2017-02-05 18:17:41,585 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > > ,component=3DAsyncLoggerRingBuffer > > > > 2016-02-05 18:17:41,587 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > ,component=3DStatusLogger > > > > 2016-02-05 18:17:41,618 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > > ,component=3DContextSelector > > > > 2016-02-05 18:17:41,639 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > ,component=3DLoggers,name=3D > > > > 2016-02-05 18:17:41,641 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > > ,component=3DAppenders,name=3DSTDERR > > > > 2016-02-05 18:17:41,662 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > > ,component=3DAppenders,name=3DFailover > > > > 2016-02-05 18:17:41,662 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@17f052a3 > > ,component=3DAppenders,name=3DRollingRandomAccessFile > > > > 2016-02-05 18:17:41,683 main DEBUG Reconfiguration complete for > > context[name=3DAsyncContext@17f052a3] at URI > /opt/twc/ecp/log4j2.server.xml > > (org.apache.logging.log4j.core.async.AsyncLoggerContext@6bf0219d) with > > optional ClassLoader: null > > > > 2016-02-05 18:17:41,692 main DEBUG Shutdown hook enabled. Registering a > new > > one. > > > > 2016-02-05 18:17:41,693 main DEBUG > LoggerContext[name=3DAsyncContext@17f052a3, > > org.apache.logging.log4j.core.async.AsyncLoggerContext@6bf0219d] > started OK. > > > > 2016-02-05 18:17:41,727 main DEBUG AsyncLogger.ThreadNameStrategy=3DCAC= HED > > > > 2016-02-06 00:00:00,416 Log4j2-0 DEBUG RollingFileManager executing > > synchronous FileRenameAction[/opt/twc/logs/ecp.log to > > /opt/twc/logs/ecp.log.2016-02-05, renameEmptyFiles=3Dfalse] > > > > 2016-02-07 00:00:00,663 Log4j2-0 DEBUG RollingFileManager executing > > synchronous FileRenameAction[/opt/twc/logs/ecp.log to > > /opt/twc/logs/ecp.log.2016-02-06, renameEmptyFiles=3Dfalse] > > > > 2016-02-08 00:00:00,802 Log4j2-0 DEBUG RollingFileManager executing > > synchronous FileRenameAction[/opt/twc/logs/ecp.log to > > /opt/twc/logs/ecp.log.2016-02-07, renameEmptyFiles=3Dfalse] > > > > ~ > > > > > > > > One of the other processes: > > > > 2016-02-05 18:17:37,098 main DEBUG Initializing configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.xml] > > > > 2016-02-05 18:17:37,159 main DEBUG Installed script engines > > > > 2016-02-05 18:17:37,356 main DEBUG Groovy Scripting Engine Version: 2.0= , > > Language: Groovy, Threading: MULTITHREADED, Compile: true, Names: > {groovy, > > Groovy} > > > > 2016-02-05 18:17:40,741 main DEBUG Oracle Nashorn Version: 1.8.0_65, > > Language: ECMAScript, Threading: Not Thread Safe, Compile: true, Names: > > {nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, > ecmascript} > > > > 2016-02-05 18:17:40,742 main DEBUG PluginManager 'Core' found 97 plugin= s > > > > 2016-02-05 18:17:40,743 main DEBUG PluginManager 'Level' found 0 plugin= s > > > > 2016-02-05 18:17:40,813 main DEBUG Starting 1 Log4j2Scheduled threads > > > > 2016-02-05 18:17:40,814 main DEBUG PluginManager 'Lookup' found 13 > plugins > > > > 2016-02-05 18:17:40,847 main DEBUG Building Plugin[name=3Dlayout, > > class=3Dorg.apache.logging.log4j.core.layout.SerializedLayout]. > > > > 2016-02-05 18:17:40,864 main DEBUG createLayout() > > > > 2016-02-05 18:17:40,865 main DEBUG Building Plugin[name=3Dappender, > > class=3Dorg.apache.logging.log4j.core.appender.SocketAppender]. > > > > 2016-02-05 18:17:41,080 main DEBUG PluginManager 'TypeConverter' found = 23 > > plugins > > > > 2016-02-05 18:17:41,178 main DEBUG createAppender(host=3D"ecplogger", > > port=3D"6000", protocol=3D"UDP", SSL=3Dnull, connectTimeoutMillis=3D"10= 000", > > reconnectionDelayMillis=3D"1000", immediateFail=3D"false", > > name=3D"local_process_socket", immediateFlush=3D"true", > > ignoreExceptions=3D"false", > > > SerializedLayout(org.apache.logging.log4j.core.layout.SerializedLayout@4e= 3958e7 > ), > > Filter=3Dnull, advertise=3D"false", Configuration(log4j2.xml)) > > > > 2016-02-05 18:17:41,233 main DEBUG Starting DatagramSocketManager > > UDP:ecplogger:6000 > > > > 2016-02-05 18:17:41,234 main DEBUG Building Plugin[name=3DAppenderRef, > > class=3Dorg.apache.logging.log4j.core.config.AppenderRef]. > > > > 2016-02-05 18:17:41,253 main DEBUG > > createAppenderRef(ref=3D"local_process_socket", level=3D"null", Filter= =3Dnull) > > > > 2016-02-05 18:17:41,253 main DEBUG Building Plugin[name=3Dappender, > > class=3Dorg.apache.logging.log4j.core.appender.AsyncAppender]. > > > > 2016-02-05 18:17:41,295 main DEBUG > createAppender(=3D{local_process_socket}, > > errorRef=3D"STDERR", blocking=3D"false", shutdownTimeout=3D"5000", > > bufferSize=3D"32768", name=3D"local_process_async", includeLocation=3D"= false", > > Filter=3Dnull, Configuration(log4j2.xml), ignoreExceptions=3D"false") > > > > 2016-02-05 18:17:41,296 main DEBUG Building Plugin[name=3Dlayout, > > class=3Dorg.apache.logging.log4j.core.layout.PatternLayout]. > > > > 2016-02-05 18:17:41,336 main DEBUG > > PatternLayout$Builder(pattern=3D"%d{ISO8601} %-14mdc{application} %-5le= vel > > [%t] %logger - %msg%n", PatternSelector=3Dnull, Configuration(log4j2.xm= l), > > Replace=3Dnull, charset=3D"null", alwaysWriteExceptions=3D"null", > > noConsoleNoAnsi=3D"null", header=3D"null", footer=3D"null") > > > > 2016-02-05 18:17:41,366 main DEBUG PluginManager 'Converter' found 38 > > plugins > > > > 2016-02-05 18:17:41,509 main DEBUG Building Plugin[name=3Dappender, > > class=3Dorg.apache.logging.log4j.core.appender.ConsoleAppender]. > > > > 2016-02-05 18:17:41,512 main INFO Log4j appears to be running in a > Servlet > > environment, but there's no log4j-web module available. If you want > better > > web container support, please add the log4j-web JAR to your web archive > or > > server lib directory. > > > > 2016-02-05 18:17:41,529 main DEBUG PluginManager 'Converter' found 38 > > plugins > > > > 2016-02-05 18:17:41,530 main DEBUG Starting OutputStreamManager > > SYSTEM_OUT.false-2 > > > > 2016-02-05 18:17:41,573 main DEBUG > > ConsoleAppender$Builder(PatternLayout(%d{ISO8601} %-14mdc{application} > > %-5level [%t] %logger - %msg%n), Filter=3Dnull, target=3D"SYSTEM_ERR", > > name=3D"STDERR", follow=3D"null", ignoreExceptions=3D"null") > > > > 2016-02-05 18:17:41,574 main DEBUG Starting OutputStreamManager > > SYSTEM_ERR.false > > > > 2016-02-05 18:17:41,576 main DEBUG Building Plugin[name=3DAppenderRef, > > class=3Dorg.apache.logging.log4j.core.config.AppenderRef]. > > > > 2016-02-05 18:17:41,602 main DEBUG createAppenderRef(ref=3D"STDERR", > > level=3D"null", Filter=3Dnull) > > > > 2016-02-05 18:17:41,603 main DEBUG Building Plugin[name=3Dfailovers, > > class=3Dorg.apache.logging.log4j.core.appender.FailoversPlugin]. > > > > 2016-02-05 18:17:41,603 main DEBUG createFailovers(=3D{STDERR}) > > > > 2016-02-05 18:17:41,604 main DEBUG Building Plugin[name=3Dappender, > > class=3Dorg.apache.logging.log4j.core.appender.FailoverAppender]. > > > > 2016-02-05 18:17:41,606 main ERROR appender Failover has no parameter > that > > matches element Failovers > > > > 2016-02-05 18:17:41,609 main DEBUG createAppender(name=3D"Failover", > > primary=3D"local_process_async", =3D{[STDERR]}, retryIntervalSeconds=3D= "null", > > Configuration(log4j2.xml), Filter=3Dnull, ignoreExceptions=3D"null") > > > > 2016-02-05 18:17:41,610 main DEBUG Building Plugin[name=3Dappenders, > > class=3Dorg.apache.logging.log4j.core.config.AppendersPlugin]. > > > > 2016-02-05 18:17:41,611 main DEBUG > createAppenders(=3D{local_process_socket, > > local_process_async, STDERR, Failover primary=3Dnull, failover=3D{STDER= R}}) > > > > 2016-02-05 18:17:41,619 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,627 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"com.google", includeLocation=3D"null", =3D{}, = =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,660 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,670 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"org.mybatis", includeLocation=3D"null", =3D{},= =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,671 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,672 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"org.apache.ibatis", includeLocation=3D"null", = =3D{}, > =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,672 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,688 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"com.ryantenney", includeLocation=3D"null", =3D= {}, =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,688 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,689 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"org.apache.http", includeLocation=3D"null", = =3D{}, =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,702 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,703 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"org.apache.activemq", includeLocation=3D"null"= , =3D{}, > > =3D{}, Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,703 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,704 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"org.eclipse.jetty", includeLocation=3D"null", = =3D{}, > =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,704 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,717 main DEBUG createLogger(additivity=3D"null", > > level=3D"ERROR", name=3D"org.apache.cxf", includeLocation=3D"null", =3D= {}, =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,720 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,721 main DEBUG createLogger(additivity=3D"null", > > level=3D"INFO", name=3D"org.springframework", includeLocation=3D"null",= =3D{}, > =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,721 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,722 main DEBUG createLogger(additivity=3D"null", > > level=3D"WARN", > > name=3D"com.twc.ctg.ecp.service.history.HouseholdHistorySummaryQueue", > > includeLocation=3D"null", =3D{}, =3D{}, Configuration(log4j2.xml), Filt= er=3Dnull) > > > > 2016-02-05 18:17:41,734 main DEBUG Building Plugin[name=3Dlogger, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig]. > > > > 2016-02-05 18:17:41,735 main DEBUG createLogger(additivity=3D"null", > > level=3D"WARN", > > name=3D"com.twc.ctg.ecp.persistence.mappers.HouseholdHistorySummaryMapp= er", > > includeLocation=3D"null", =3D{}, =3D{}, Configuration(log4j2.xml), Filt= er=3Dnull) > > > > 2016-02-05 18:17:41,735 main DEBUG Building Plugin[name=3DAppenderRef, > > class=3Dorg.apache.logging.log4j.core.config.AppenderRef]. > > > > 2016-02-05 18:17:41,735 main DEBUG createAppenderRef(ref=3D"Failover", > > level=3D"null", Filter=3Dnull) > > > > 2016-02-05 18:17:41,736 main DEBUG Building Plugin[name=3Droot, > > class=3Dorg.apache.logging.log4j.core.config.LoggerConfig$RootLogger]. > > > > 2016-02-05 18:17:41,737 main DEBUG createLogger(additivity=3D"null", > > level=3D"DEBUG", includeLocation=3D"null", =3D{Failover}, =3D{}, > > Configuration(log4j2.xml), Filter=3Dnull) > > > > 2016-02-05 18:17:41,746 main DEBUG Building Plugin[name=3Dloggers, > > class=3Dorg.apache.logging.log4j.core.config.LoggersPlugin]. > > > > 2016-02-05 18:17:41,747 main DEBUG createLoggers(=3D{com.google, > org.mybatis, > > org.apache.ibatis, com.ryantenney, org.apache.http, org.apache.activemq= , > > org.eclipse.jetty, org.apache.cxf, org.springframework, > > com.twc.ctg.ecp.service.history.HouseholdHistorySummaryQueue, > > com.twc.ctg.ecp.persistence.mappers.HouseholdHistorySummaryMapper, root= }) > > > > 2016-02-05 18:17:41,750 main DEBUG Configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.xml] initialized > > > > 2016-02-05 18:17:41,756 main DEBUG Starting configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.xml] > > > > 2016-02-05 18:17:41,764 main DEBUG Started configuration > > XmlConfiguration[location=3D/opt/twc/ecp/log4j2.xml] OK. > > > > 2016-02-05 18:17:41,764 main DEBUG Shutting down OutputStreamManager > > SYSTEM_OUT.false-1 > > > > 2016-02-05 18:17:41,765 main DEBUG Stopped > > org.apache.logging.log4j.core.config.DefaultConfiguration@1324409e OK > > > > 2016-02-05 18:17:41,771 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > > > 2016-02-05 18:17:41,774 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DAsyncLoggerRingBuffer > > > > 2016-02-05 18:17:41,780 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > ,component=3DStatusLogger > > > > 2016-02-05 18:17:41,783 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DContextSelector > > > > 2016-02-05 18:17:41,790 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.apache.ibatis > > > > 2016-02-05 18:17:41,791 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > ,component=3DLoggers,name=3D > > > > 2016-02-05 18:17:41,792 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dcom.google > > > > 2016-02-05 18:17:41,792 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.apache.activemq > > > > 2016-02-05 18:17:41,792 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.eclipse.jetty > > > > 2016-02-05 18:17:41,793 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > > ,component=3DLoggers,name=3Dcom.twc.ctg.ecp.persistence.mappers.Household= HistorySummaryMapper > > > > 2016-02-05 18:17:41,794 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.apache.cxf > > > > 2016-02-05 18:17:41,794 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.apache.http > > > > 2016-02-05 18:17:41,794 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.apache.http > > > > 2016-02-05 18:17:41,795 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > > ,component=3DLoggers,name=3Dcom.twc.ctg.ecp.service.history.HouseholdHist= orySummaryQueue > > > > 2016-02-05 18:17:41,800 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.springframework > > > > 2016-02-05 18:17:41,800 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dcom.ryantenney > > > > 2016-02-05 18:17:41,802 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DLoggers,name=3Dorg.mybatis > > > > 2016-02-05 18:17:41,809 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DAppenders,name=3Dlocal_process_socket > > > > 2016-02-05 18:17:41,811 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DAppenders,name=3DSTDERR > > > > 2016-02-05 18:17:41,811 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DAppenders,name=3DFailover > > > > 2016-02-05 18:17:41,813 main DEBUG Registering MBean > > org.apache.logging.log4j2:type=3DAsyncContext@18b4aac2 > > ,component=3DAsyncAppenders,name=3Dlocal_process_async > > > > 2016-02-05 18:17:41,818 main DEBUG Reconfiguration complete for > > context[name=3DAsyncContext@18b4aac2] at URI /opt/twc/ecp/log4j2.xml > > (org.apache.logging.log4j.core.async.AsyncLoggerContext@2cd2a21f) with > > optional ClassLoader: null > > > > 2016-02-05 18:17:41,824 main DEBUG Shutdown hook enabled. Registering a > new > > one. > > > > 2016-02-05 18:17:41,825 main DEBUG > LoggerContext[name=3DAsyncContext@18b4aac2, > > org.apache.logging.log4j.core.async.AsyncLoggerContext@2cd2a21f] > started OK. > > > > 2016-02-05 18:17:41,841 main DEBUG AsyncLogger.ThreadNameStrategy=3DCAC= HED > > > > ~ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org > For additional commands, e-mail: log4j-user-help@logging.apache.org > > --089e01184e627aa201052b4962de--