Thorsten Schöning | 20 May 2013 12:38
Picon

Please reconsider LOGBACK-832

Hello,

I recently came across LOGBACK-832 (logback conditional configuration
fails when loaded within axis2) and think I found a proper solution to
this problem. Could you please have a look on my new comment? Thanks!

http://jira.qos.ch/browse/LOGBACK-832?focusedCommentId=13374&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13374

Mit freundlichen Grüßen,

Thorsten Schöning

--

-- 
Thorsten Schöning       E-Mail:Thorsten.Schoening@...
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Peter Halasz (JIRA | 17 May 2013 13:34
Picon

[JIRA] (LOGBACK-867) AsynAppender thread leak

Issue Type: Bug
Affects Versions: 1.0.7, 1.0.13
Assignee: Logback dev list
Components: logback-core
Created: 17/May/13 1:34 PM
Description:

We use AsyncAppenders in our WebSphere AppServer 8.5 ND environment.

When an application starts, that uses logback, threads are created with name AsyncAppender-Worker-Thread-XXX for every defined async appender, as they should.

But we noticed, that when the application is stopped, these threads do not dissapear. And when the application is started again, the previously created threads all stay there, and new ones are created, and old threads never die. With a couple of application restarts, it's easy to get to houndreds of running worker threads, in the end, exhausting the native heap and killing the server.

Originally we used logback 1.0.7, now we tried it with 1.0.13, but it's the same.

Environment:

Websphere Application Server 8.5.0.1 Network Deployment

Project: logback
Priority: Major
Reporter: Peter Halasz
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Gerhard Presser (JIRA | 17 May 2013 09:18
Picon

[JIRA] (LOGBACK-866) PackagingDataCalculator uses sun.* internal classes

Issue Type: Bug
Affects Versions: 1.0.13
Assignee: Logback dev list
Components: logback-classic
Created: 17/May/13 9:18 AM
Description:

this causes logging inside applets to fail with the following exception:

Unexpected exception
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.reflect")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.checkPackageAccessHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPackageAccess(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at ch.qos.logback.classic.spi.PackagingDataCalculator.<clinit>(PackagingDataCalculator.java:42)
at ch.qos.logback.classic.spi.ThrowableProxy.getPackagingDataCalculator(ThrowableProxy.java:135)
...

using sun* classes may also cause problems when using a different VM!?

Project: logback
Priority: Major
Reporter: Gerhard Presser
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Jason Bennett (JIRA | 14 May 2013 19:31
Picon

[JIRA] (LOGBACK-865) Amazon SES rejects emails with perceived illegal headers

Issue Type: Improvement
Affects Versions: 1.0.12
Assignee: Logback dev list
Components: logback-classic
Created: 14/May/13 7:30 PM
Description:

SMTPAppender places a great deal of the stack trace into the subject line. If the line contains a newline, and further data, Amazon interprets this data as email headers and rejects the email because it contains illegal headers.

Suggested fix is to truncate the email subject line at the first EOL character. See http://mailman.qos.ch/pipermail/logback-user/2013-May/003929.html

Project: logback
Priority: Major
Reporter: Jason Bennett
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
DK (JIRA | 14 May 2013 16:17
Picon

[JIRA] (LOGBACK-864) OverlappingFileLockException with Rolling file appender using prudent flag

DK created LOGBACK-864
Issue Type: Bug
Affects Versions: 1.0.7
Assignee: Logback dev list
Components: logback-core
Created: 14/May/13 4:16 PM
Description:

I'm hitting the following OverlappingFileLockException in LogBack.
Is there any know issues with prudent mode in this version of Logback.

logback-classic 1.0.7
logback-core 1.0.7
slf4j-api 1.7.2
slf4j-ext 1.7.2

11:16:59,252 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE_LOG] - Appender [FILE_LOG] failed to append. java.nio.channels.OverlappingFileLockException at java.nio.channels.OverlappingFileLockException at at sun.nio.ch.SharedFileLockTable.checkList(FileLockTable.java:255) at at sun.nio.ch.SharedFileLockTable.add(FileLockTable.java:152) at at sun.nio.ch.FileChannelImpl.lock(FileChannelImpl.java:972) at at java.nio.channels.FileChannel.lock(FileChannel.java:1052) at at ch.qos.logback.core.FileAppender.safeWrite(FileAppender.java:187) at at ch.qos.logback.core.FileAppender.writeOut(FileAppender.java:204) at at ch.qos.logback.core.OutputStreamAppender.subAppend(OutputStreamAppender.java:212) at at ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:148) at at ch.qos.logback.core.OutputStreamAppender.append(OutputStreamAppender.java:103) at at ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88) at at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:48) at at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:280) at at ch.qos.logback.classic.Logger.callAppenders(Logger.java:267) at at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:449) at at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:403) at at ch.qos.logback.classic.Logger.log(Logger.java:803) at at org.slf4j.ext.LoggerWrapper.info(LoggerWrapper.java:490)

<appender name="FILE_LOG" class="ch.qos.logback.core.rolling.RollingFileAppender">
<prudent>true</prudent>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
<fileNamePattern>C:/MyLog-%d

{yyyy-MM-dd}

.%i.log</fileNamePattern>
<timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
<maxFileSize>100MB</maxFileSize>
</timeBasedFileNamingAndTriggeringPolicy>
<maxHistory>10</maxHistory>
</rollingPolicy>
<encoder>
<pattern>%d

{HH:mm:ss.SSS}

[%-20.20(%thread)] %-6level %-30.30logger

{0}

- [%-12.12(S:%mdc

{pucid}

]) %msg%n</pattern>
</encoder>
</appender>

Environment:

Windows 7 Enterprise 64-bit

java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

Project: logback
Priority: Major
Reporter: DK
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Philippe Tran (JIRA | 14 May 2013 15:44
Picon

[JIRA] (LOGBACK-863) Security exception when security manager is enabled in Liferay portal

Issue Type: Bug
Affects Versions: 1.0.11
Assignee: Logback dev list
Components: logback-core
Created: 14/May/13 3:43 PM
Description:

I try to use logback in a portlet app with the Liferay portal, whose new version (6.2.0) let administrators set up the java security management dynamically.

When the portlet app starts up (in the Liferay environment), the property "java.security.policy" is always null, and System.getSecurityManager() returns the current manager (null if no set, not null if set).

Logback always breaks in PackagingDataCalculator.getCodeLocation(Class) and PackagingDataCalculator.populateFrameStack(StackTraceElementProxy[]) because it calls Class<T>.getProtectionDomain() and Class<T>.getClassLoader().

Environment:

java 6 / MacOSX 10.7

Project: logback
Priority: Major
Reporter: Philippe Tran
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Carl Harris | 14 May 2013 14:21
Picon
Favicon
Gravatar

[qos-ch/logback] f431e5: LOGBACK-844

  Branch: refs/heads/LOGBACK-844
  Home:   https://github.com/qos-ch/logback
  Commit: f431e5e4ed13820e97c5fe15fc45ef6a32d9edd1
      https://github.com/qos-ch/logback/commit/f431e5e4ed13820e97c5fe15fc45ef6a32d9edd1
  Author: kalgon <kalgon@...>
  Date:   2013-04-25 (Thu, 25 Apr 2013)

  Changed paths:
    M logback-access/src/main/java/ch/qos/logback/access/tomcat/LogbackValve.java

  Log Message:
  -----------
  LOGBACK-844

  Commit: 95cb27ef3392d5e83169e1e2d5b7fb69ae88f0d0
      https://github.com/qos-ch/logback/commit/95cb27ef3392d5e83169e1e2d5b7fb69ae88f0d0
  Author: kalgon <kalgon@...>
  Date:   2013-04-29 (Mon, 29 Apr 2013)

  Changed paths:
    M logback-access/src/main/java/ch/qos/logback/access/tomcat/LogbackValve.java

  Log Message:
  -----------
  LOGBACK-844 (reviewed)

  Commit: 51b6a2d598b5d46319da9fc681475dec954a8058
      https://github.com/qos-ch/logback/commit/51b6a2d598b5d46319da9fc681475dec954a8058
  Author: Carl Harris <ceharris@...>
  Date:   2013-05-14 (Tue, 14 May 2013)

  Changed paths:
    M logback-access/src/main/java/ch/qos/logback/access/tomcat/LogbackValve.java

  Log Message:
  -----------
  merged and refactored kalgon/master for LOGBACK-844

 <at> kalgon added support for locating the logback-access.xml configuration
file in the location specified by either catalina.base or catalina.home.
The startInternal method was already a bit messy, and the additional
checks for catalina.base and catalina.home warranted some method
extraction.

Compare: https://github.com/qos-ch/logback/compare/f431e5e4ed13^...51b6a2d598b5
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Ceki Gulcu | 11 May 2013 23:53
Picon
Gravatar

[qos-ch/logback] ec0ec7: wait for compression to finish

  Branch: refs/heads/connectionRunner
  Home:   https://github.com/qos-ch/logback
  Commit: ec0ec70dbb6d108f26292177e8fd02f7d2fe576a
      https://github.com/qos-ch/logback/commit/ec0ec70dbb6d108f26292177e8fd02f7d2fe576a
  Author: Ceki Gulcu <ceki@...>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java

  Log Message:
  -----------
  wait for compression to finish

  Commit: ba434ae83552a47d440d1c7d717ab09583f3254c
      https://github.com/qos-ch/logback/commit/ba434ae83552a47d440d1c7d717ab09583f3254c
  Author: Ceki Gulcu <ceki@...>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M logback-core/src/test/java/ch/qos/logback/core/rolling/ScaffoldingForRollingTests.java

  Log Message:
  -----------
  increase wait delay in accordance with very slow machines

  Commit: 8c239bcb6b3caae99faf67864ceda74881f1e036
      https://github.com/qos-ch/logback/commit/8c239bcb6b3caae99faf67864ceda74881f1e036
  Author: Ceki Gulcu <ceki@...>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java
    M logback-core/src/test/java/ch/qos/logback/core/rolling/ScaffoldingForRollingTests.java

  Log Message:
  -----------
  Merge branch 'master' into connectionRunner

Compare: https://github.com/qos-ch/logback/compare/cc14ed6e71bf...8c239bcb6b3c
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Ceki Gulcu | 11 May 2013 22:36
Picon
Gravatar

[qos-ch/logback] ba434a: increase wait delay in accordance with very slow m...

  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: ba434ae83552a47d440d1c7d717ab09583f3254c
      https://github.com/qos-ch/logback/commit/ba434ae83552a47d440d1c7d717ab09583f3254c
  Author: Ceki Gulcu <ceki@...>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M logback-core/src/test/java/ch/qos/logback/core/rolling/ScaffoldingForRollingTests.java

  Log Message:
  -----------
  increase wait delay in accordance with very slow machines

_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Ceki Gulcu | 11 May 2013 21:11
Picon
Gravatar

[qos-ch/logback] 7472f2: typo fix

  Branch: refs/heads/connectionRunner
  Home:   https://github.com/qos-ch/logback
  Commit: 7472f201e39439599c562d3e10afb532125c3d27
      https://github.com/qos-ch/logback/commit/7472f201e39439599c562d3e10afb532125c3d27
  Author: Ceki Gulcu <ceki@...>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M logback-site/src/site/pages/news.html

  Log Message:
  -----------
  typo fix

  Commit: cc14ed6e71bf8581062684156ca81b04a891136d
      https://github.com/qos-ch/logback/commit/cc14ed6e71bf8581062684156ca81b04a891136d
  Author: Ceki Gulcu <ceki@...>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M logback-site/src/site/pages/news.html

  Log Message:
  -----------
  Merge branch 'master' into connectionRunner

Compare: https://github.com/qos-ch/logback/compare/07b13b847d91...cc14ed6e71bf
_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev
Ceki Gulcu | 11 May 2013 21:11
Picon
Gravatar

[qos-ch/logback] ec0ec7: wait for compression to finish

  Branch: refs/heads/master
  Home:   https://github.com/qos-ch/logback
  Commit: ec0ec70dbb6d108f26292177e8fd02f7d2fe576a
      https://github.com/qos-ch/logback/commit/ec0ec70dbb6d108f26292177e8fd02f7d2fe576a
  Author: Ceki Gulcu <ceki@...>
  Date:   2013-05-11 (Sat, 11 May 2013)

  Changed paths:
    M logback-core/src/main/java/ch/qos/logback/core/rolling/TimeBasedRollingPolicy.java

  Log Message:
  -----------
  wait for compression to finish

_______________________________________________
logback-dev mailing list
logback-dev@...
http://mailman.qos.ch/mailman/listinfo/logback-dev

Gmane