From 1f0165de74e4aac290e575ae24d017fb70ba8b63 Mon Sep 17 00:00:00 2001 From: tmortagne <thomas.mortagne@gmail.com> Date: Mon, 29 Sep 2014 16:58:32 +0200 Subject: [PATCH] [misc] Getting rid of unwanted log --- .../src/main/java/com/xpn/xwiki/web/ExportAction.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java b/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java index 13429894490..61d3f14a2cf 100644 --- a/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java +++ b/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java @@ -262,6 +262,9 @@ private String exportXAR(XWikiContext context) throws XWikiException, IOExceptio // Create input wiki stream DocumentInstanceInputProperties inputProperties = new DocumentInstanceInputProperties(); + // We don't want to log the details + inputProperties.setVerbose(false); + inputProperties.setWithJRCSRevisions(history); inputProperties.setWithRevisions(false); @@ -289,6 +292,9 @@ private String exportXAR(XWikiContext context) throws XWikiException, IOExceptio // Create output wiki stream XAROutputProperties xarProperties = new XAROutputProperties(); + // We don't want to log the details + xarProperties.setVerbose(false); + XWikiResponse response = context.getResponse(); xarProperties.setTarget(new DefaultOutputStreamOutputTarget(response.getOutputStream())); -- GitLab