You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2022/01/31 08:44:22 UTC
[hop] branch master updated: HOP-3700 HopLogStore: value read for maxLogTimeoutMinutes is wrong
This is an automated email from the ASF dual-hosted git repository.
hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hop.git
The following commit(s) were added to refs/heads/master by this push:
new fd3bcfa HOP-3700 HopLogStore: value read for maxLogTimeoutMinutes is wrong
new e88b030 Merge pull request #1308 from sramazzina/MEMORYLEAK
fd3bcfa is described below
commit fd3bcfafafc15d3b685e6d5b4b003d621b9b9063
Author: Sergio Ramazzina <se...@serasoft.it>
AuthorDate: Sun Jan 30 11:59:33 2022 +0100
HOP-3700 HopLogStore: value read for maxLogTimeoutMinutes is wrong
---
engine/src/main/java/org/apache/hop/run/HopRun.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/engine/src/main/java/org/apache/hop/run/HopRun.java b/engine/src/main/java/org/apache/hop/run/HopRun.java
index cf983c2..ed38c28 100644
--- a/engine/src/main/java/org/apache/hop/run/HopRun.java
+++ b/engine/src/main/java/org/apache/hop/run/HopRun.java
@@ -27,6 +27,7 @@ import org.apache.hop.core.config.plugin.IConfigOptions;
import org.apache.hop.core.exception.HopException;
import org.apache.hop.core.extension.ExtensionPointHandler;
import org.apache.hop.core.extension.HopExtensionPoint;
+import org.apache.hop.core.logging.HopLogStore;
import org.apache.hop.core.logging.ILogChannel;
import org.apache.hop.core.logging.LogChannel;
import org.apache.hop.core.logging.LogLevel;
@@ -710,6 +711,10 @@ public class HopRun implements Runnable, IHasHopMetadataProvider {
//
hopRun.buildVariableSpace();
+ // Initialize the logging backend
+ //
+ HopLogStore.init();
+
// Set up the metadata to use
//
hopRun.metadataProvider = HopMetadataUtil.getStandardHopMetadataProvider(hopRun.variables);