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/07 03:31:32 UTC

[karaf] 01/04: [KARAF-5475] Try to avoid ArrayIndexOutOfBoundsException

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

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

commit e22d42f043fe331dea4a9a0606799e01e8162d1e
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>.