Repository: openmeetings
Updated Branches:
  refs/heads/master d32d8ebeb -> 89d7abc88


[OPENMEETINGS-1714] more issues are fixed


Project: http://git-wip-us.apache.org/repos/asf/openmeetings/repo
Commit: http://git-wip-us.apache.org/repos/asf/openmeetings/commit/89d7abc8
Tree: http://git-wip-us.apache.org/repos/asf/openmeetings/tree/89d7abc8
Diff: http://git-wip-us.apache.org/repos/asf/openmeetings/diff/89d7abc8

Branch: refs/heads/master
Commit: 89d7abc8832c37b0220ee10b8fff5b31c4e11654
Parents: d32d8eb
Author: Maxim Solodovnik <[email protected]>
Authored: Sat Oct 14 10:44:43 2017 +0700
Committer: Maxim Solodovnik <[email protected]>
Committed: Sat Oct 14 10:44:43 2017 +0700

----------------------------------------------------------------------
 .gitignore                                      |  1 -
 .../src/test/resources/logback-test.xml         | 64 ++++++++++++++++++++
 2 files changed, 64 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/openmeetings/blob/89d7abc8/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index ce6f11f..d87639c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,4 +13,3 @@ target
 # OM
 openmeetings-server/red5-server
 
-/openmeetings-web/

http://git-wip-us.apache.org/repos/asf/openmeetings/blob/89d7abc8/openmeetings-web/src/test/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/openmeetings-web/src/test/resources/logback-test.xml 
b/openmeetings-web/src/test/resources/logback-test.xml
new file mode 100644
index 0000000..6463b06
--- /dev/null
+++ b/openmeetings-web/src/test/resources/logback-test.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+
+-->
+<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
+       <contextName>${current_openmeetings_context_name}</contextName>
+
+       <jmxConfigurator contextName="${current_openmeetings_context_name}" />
+
+       <appender name="FILE" 
class="ch.qos.logback.core.rolling.RollingFileAppender">
+               <File>log/${current_openmeetings_context_name}.log</File>
+               <Append>false</Append>
+               <Encoding>UTF-8</Encoding>
+               <BufferedIO>false</BufferedIO>
+               <ImmediateFlush>true</ImmediateFlush>
+               <layout class="ch.qos.logback.classic.PatternLayout">
+                       <Pattern>
+                               %5p %d{MM-dd HH:mm:ss.SSS } %c{15}:%L 
[%.15thread] - %m%n
+                       </Pattern>
+               </layout>
+               <rollingPolicy 
class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
+                       <!-- daily rollover -->
+                       
<fileNamePattern>log\${current_openmeetings_context_name}.%d{yyyy-MM-dd}.%i.log</fileNamePattern>
+                       <timeBasedFileNamingAndTriggeringPolicy 
class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
+                               <!-- or whenever the file size reaches 100MB -->
+                               <maxFileSize>50MB</maxFileSize>
+                       </timeBasedFileNamingAndTriggeringPolicy>
+                       <!-- keep 30 days' worth of history -->
+                       <maxHistory>50</maxHistory>
+               </rollingPolicy>
+       </appender>
+       <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+               <layout class="ch.qos.logback.classic.PatternLayout">
+                       <pattern>%5p %d{MM-dd HH:mm:ss.SSS } %r %L %c{15} 
[%.15thread] - %m%n</pattern>
+               </layout>
+       </appender>
+       <logger name="com.mchange.v2" level="ERROR" />
+       <logger name="org.apache.axiom" level="ERROR" />
+       <logger name="org.apache.commons.httpclient" level="ERROR" />
+       <logger name="de.hunsicker.jalopy.io" level="ERROR" />
+       <logger name="httpclient.wire.header" level="ERROR" />
+       <logger name="org.apache.mina.filter.ssl.SslFilter" level="ERROR" />
+       <logger name="org.apache.openmeetings" level="DEBUG" />
+       <root level="INFO">
+               <appender-ref ref="FILE" />
+               <appender-ref ref="CONSOLE" />
+       </root>
+</configuration>

Reply via email to