You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by gn...@apache.org on 2017/12/08 08:04:32 UTC

[karaf] branch master updated: [KARAF-5475] Try to avoid ArrayIndexOutOfBoundsException

This is an automated email from the ASF dual-hosted git repository.

gnodet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 4603f63  [KARAF-5475] Try to avoid ArrayIndexOutOfBoundsException
4603f63 is described below

commit 4603f63336c418e357d5486bf8773236a21e955f
Author: Guillaume Nodet <gn...@gmail.com>
AuthorDate: Mon Dec 4 11:01:24 2017 +0100

    [KARAF-5475] Try to avoid ArrayIndexOutOfBoundsException
---
 audit/src/main/java/org/apache/karaf/audit/layout/SimpleLayout.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/audit/src/main/java/org/apache/karaf/audit/layout/SimpleLayout.java b/audit/src/main/java/org/apache/karaf/audit/layout/SimpleLayout.java
index 31a1ceb..b389007 100644
--- a/audit/src/main/java/org/apache/karaf/audit/layout/SimpleLayout.java
+++ b/audit/src/main/java/org/apache/karaf/audit/layout/SimpleLayout.java
@@ -29,7 +29,7 @@ public class SimpleLayout extends AbstractLayout {
     protected FastDateFormat fastDateFormat = new FastDateFormat();
 
     public SimpleLayout() {
-        super(new Buffer(Buffer.Format.Json));
+        super(new Buffer(Buffer.Format.Json, 4096));
         hdr = " " + hostName + " " + appName + " " + procId;
     }
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@karaf.apache.org" <co...@karaf.apache.org>'].