logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1412753 [2/2] - in /logging/log4j/log4j2/trunk: ./ flume-ng/ samples/ samples/flume-common/ samples/flume-common/src/ samples/flume-common/src/main/ samples/flume-common/src/main/java/ samples/flume-common/src/main/java/org/ samples/flume-...
Date Fri, 23 Nov 2012 05:11:36 GMT
Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/resources/log4j-remote.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/resources/log4j-remote.xml?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/resources/log4j-remote.xml (added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/resources/log4j-remote.xml Fri
Nov 23 05:11:28 2012
@@ -0,0 +1,32 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<configuration status="debug" name="Flume" verbose="false" monitorInterval="30">
+	<MarkerFilter marker="EVENT" onMatch="ACCEPT" onMismatch="NEUTRAL" />
+	<appenders>
+
+		<Flume name="flume" suppressExceptions="false" mdcPrefix="ReqCtx_" compress="false">
+			<Agent host="localhost" port="8800" />
+			<RFC5424Layout enterpriseNumber="12293" includeMDC="true" mdcId="RequestContext" appName="GL"
/>
+		</Flume>
+		<Console name="console">
+			<PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level %class{36}:%L %M - %msg%n" />
+		</Console>
+		<RollingFile name="RollingFile" fileName="${sys:log.dir}/app.log"
+			filePattern="${sys:log.dir}/app-%d{MM-dd-yyyy}-%i.log.gz">
+			<PatternLayout>
+				<pattern>%d %p %C{1.} [%t] %m%n</pattern>
+			</PatternLayout>
+			<Policies>
+				<TimeBasedTriggeringPolicy />
+				<SizeBasedTriggeringPolicy size="250 MB" />
+			</Policies>
+		</RollingFile>
+	</appenders>
+	<loggers>
+		<logger name="EventLogger" level="WARN" additivity="false">
+			<appender-ref ref="flume" />
+		</logger>
+		<root level="debug">
+			<appender-ref ref="RollingFile" />
+		</root>
+	</loggers>
+</configuration>

Propchange: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/resources/log4j-remote.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/applicationContext.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/applicationContext.xml?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/applicationContext.xml
(added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/applicationContext.xml
Fri Nov 23 05:11:28 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:aop="http://www.springframework.org/schema/aop" xmlns:tx="http://www.springframework.org/schema/tx"
+	xmlns:context="http://www.springframework.org/schema/context" xmlns:oxm="http://www.springframework.org/schema/oxm"
+	xsi:schemaLocation="http://www.springframework.org/schema/beans
+           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+           http://www.springframework.org/schema/aop
+           http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
+           http://www.springframework.org/schema/tx
+           http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
+		   http://www.springframework.org/schema/oxm
+		   http://www.springframework.org/schema/oxm/spring-oxm-1.5.xsd
+           http://www.springframework.org/schema/context
+           http://www.springframework.org/schema/context/spring-context-2.5.xsd">
+
+	<context:component-scan base-package="org.apache.logging.log4j.samples">
+		<context:exclude-filter type="annotation"
+			expression="org.springframework.ws.server.endpoint.annotation.Endpoint" />
+		<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"
/>
+	</context:component-scan>
+
+</beans>

Propchange: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/applicationContext.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-classloading.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-classloading.xml?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-classloading.xml
(added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-classloading.xml
Fri Nov 23 05:11:28 2012
@@ -0,0 +1,4 @@
+<classloading xmlns="urn:jboss:classloading:1.0"
+              domain="IsolatedDomain"
+              parent-first="false">
+</classloading>

Propchange: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-classloading.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-web.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-web.xml?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-web.xml
(added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-web.xml
Fri Nov 23 05:11:28 2012
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-web>
+    <context-root>remote</context-root>
+</jboss-web>

Propchange: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/jboss-web.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/rest-servlet.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/rest-servlet.xml?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/rest-servlet.xml
(added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/rest-servlet.xml
Fri Nov 23 05:11:28 2012
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<beans xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
+	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
+	xmlns:oxm="http://www.springframework.org/schema/oxm" xmlns:sws="http://www.springframework.org/schema/web-services"
+	xsi:schemaLocation="http://www.springframework.org/schema/beans
+           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+           http://www.springframework.org/schema/aop
+           http://www.springframework.org/schema/aop/spring-aop-2.5.xsd
+           http://www.springframework.org/schema/oxm
+           http://www.springframework.org/schema/oxm/spring-oxm-1.5.xsd
+           http://www.springframework.org/schema/tx
+           http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
+           http://www.springframework.org/schema/context
+           http://www.springframework.org/schema/context/spring-context-2.5.xsd">
+
+	<context:component-scan base-package="org.apache.logging.log4j.samples.*" />
+
+</beans>

Propchange: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/rest-servlet.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/web.xml?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/web.xml (added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/web.xml Fri Nov
23 05:11:28 2012
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
+         http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+	<display-name>Global Logging Services</display-name>
+	<listener>
+		<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+	</listener>
+
+	<servlet>
+		<servlet-name>rest</servlet-name>
+		<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
+		<load-on-startup>6</load-on-startup>
+	</servlet>
+
+	<servlet-mapping>
+		<servlet-name>rest</servlet-name>
+		<url-pattern>*.do</url-pattern>
+	</servlet-mapping>
+
+	<welcome-file-list>
+		<welcome-file>index.jsp</welcome-file>
+	</welcome-file-list>
+
+	<session-config>
+		<session-timeout>5</session-timeout>
+	</session-config>
+
+	<listener>
+		<listener-class>org.apache.logging.log4j.core.web.Log4jContextListener</listener-class>
+	</listener>
+
+	<context-param>
+		<param-name>log4jConfiguration</param-name>
+		<param-value>file://${project.build.directory}/classes/log4j-remote.xml</param-value>
+	</context-param>
+
+	<context-param>
+		<param-name>log4jContextName</param-name>
+		<param-value>GLS</param-value>
+	</context-param>
+</web-app>

Propchange: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:executable = *

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/index.jsp?rev=1412753&view=auto
==============================================================================
    (empty)

Propchange: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/index.jsp
------------------------------------------------------------------------------
    svn:executable = *

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/start.jsp
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/start.jsp?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/start.jsp (added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/start.jsp Fri Nov 23 05:11:28
2012
@@ -0,0 +1,14 @@
+<html>
+<body>
+
+<h2>Rest Client</h2>
+<p>
+    Started
+</p>
+<form action="stop.do" method="GET">
+    <input type="submit" value="Stop" />
+</form>
+</body>
+</html>
+
+

Added: logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/stop.jsp
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/stop.jsp?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/stop.jsp (added)
+++ logging/log4j/log4j2/trunk/samples/flume-remote/src/main/webapp/stop.jsp Fri Nov 23 05:11:28
2012
@@ -0,0 +1,12 @@
+<html>
+<body>
+
+<h2>Rest Client</h2>
+<p>
+    Stopped
+</p>
+<form action="start.do" method="GET">
+    <input type="submit" value="Start" />
+</form>
+</body>
+</html>
\ No newline at end of file

Added: logging/log4j/log4j2/trunk/samples/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/samples/pom.xml?rev=1412753&view=auto
==============================================================================
--- logging/log4j/log4j2/trunk/samples/pom.xml (added)
+++ logging/log4j/log4j2/trunk/samples/pom.xml Fri Nov 23 05:11:28 2012
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <artifactId>log4j</artifactId>
+    <groupId>org.apache.logging.log4j</groupId>
+    <version>2.0-beta4-SNAPSHOT</version>
+  </parent>
+  <groupId>org.apache.logging.log4j.samples</groupId>
+  <artifactId>log4j-samples</artifactId>
+  <name>log4j-samples</name>
+  <packaging>pom</packaging>
+  <url>http://maven.apache.org</url>
+  <properties>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <spring.version>3.1.2.RELEASE</spring.version>
+  </properties>
+  <dependencyManagement>
+    <dependencies>
+      <dependency>
+        <groupId>org.apache.logging.log4j.adapters</groupId>
+        <artifactId>log4j-web</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.logging.log4j.adapters</groupId>
+        <artifactId>log4j-flume-ng</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.apache.logging.log4j.samples</groupId>
+        <artifactId>flume-common</artifactId>
+        <version>${project.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-beans</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-core</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework</groupId>
+        <artifactId>spring-webmvc</artifactId>
+        <version>${spring.version}</version>
+      </dependency>
+      <dependency>
+        <groupId>org.springframework.ws</groupId>
+        <artifactId>spring-ws-core</artifactId>
+        <version>2.1.0.RELEASE</version>
+      </dependency>
+      <dependency>
+        <groupId>javax.servlet</groupId>
+        <artifactId>servlet-api</artifactId>
+        <version>2.4</version>
+        <scope>provided</scope>
+      </dependency>
+      <dependency>
+        <groupId>junit</groupId>
+        <artifactId>junit</artifactId>
+        <version>3.8.1</version>
+        <scope>test</scope>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+  <modules>
+    <module>flume-common</module>
+    <module>flume-remote</module>
+    <module>flume-embedded</module>
+  </modules>
+</project>
\ No newline at end of file



Mime
View raw message