From acc7504d482d5e1c9d8dd00958a7d2f1f6b0ae00 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 5 Sep 2022 09:33:42 +0200 Subject: [PATCH] Revert some unexpected commit --- config/kernel/log4cxx.config | 2 +- src/Request/ProcessRequestImpl/Process/ProcessClass.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/kernel/log4cxx.config b/config/kernel/log4cxx.config index 0ca9b1a..5c7f025 100644 --- a/config/kernel/log4cxx.config +++ b/config/kernel/log4cxx.config @@ -1,4 +1,4 @@ -log4j.rootLogger=debug, stdout +log4j.rootLogger=error, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stdout.layout=org.apache.log4j.PatternLayout diff --git a/src/Request/ProcessRequestImpl/Process/ProcessClass.php b/src/Request/ProcessRequestImpl/Process/ProcessClass.php index 5a962ce..e8d50f8 100644 --- a/src/Request/ProcessRequestImpl/Process/ProcessClass.php +++ b/src/Request/ProcessRequestImpl/Process/ProcessClass.php @@ -279,8 +279,8 @@ class ProcessClass if (!chdir($this->runningPath)) return false; - //if (!$keep_log && file_exists($this->outputFile)) - // unlink($this->outputFile); + if (!$keep_log && file_exists($this->outputFile)) + unlink($this->outputFile); if (file_exists($this->exitCodeFile)) unlink($this->exitCodeFile); -- libgit2 0.21.2