From 076f518ccc0a595a1aae0179b75b9d774b24d9ec Mon Sep 17 00:00:00 2001 From: Matthijs Date: Fri, 24 Sep 2021 16:23:27 +0200 Subject: [PATCH] Change log path Fix for issue https://github.com/wuunder/wuunder-webshopplugin-prestashop/issues/39 --- wuunderconnector/controllers/admin/AdminWuunderConnector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wuunderconnector/controllers/admin/AdminWuunderConnector.php b/wuunderconnector/controllers/admin/AdminWuunderConnector.php index 70b0e25..9ce2e6a 100644 --- a/wuunderconnector/controllers/admin/AdminWuunderConnector.php +++ b/wuunderconnector/controllers/admin/AdminWuunderConnector.php @@ -39,7 +39,7 @@ public function __construct() parent::__construct(); $this->name = 'wuunder'; $this->logger = new FileLogger(0); //0 == debug level, logDebug() won’t work without this. - $this->logger->setFilename(_PS_ROOT_DIR_ . ((_PS_VERSION_ < '1.7') ? "/log/wuunder.log" : "/app/logs/wuunder.log")); + $this->logger->setFilename(_PS_ROOT_DIR_ . ((_PS_VERSION_ < '1.7') ? "/log/wuunder.log" : "/var/logs/wuunder.log")); $this->bootstrap = true; $this->override_folder = ""; $this->sourceObj = array("product" => "Prestashop extension", "version" => array("build" => "1.3.8", "plugin" => "1.0"));