From: Michael Date: Mon, 25 Dec 2017 23:03:14 +0000 (+0000) Subject: Some more logging for auth_ejabberd X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=869af9f323ac8254a8c75b14cd772a5a48c455dd;p=friendica.git Some more logging for auth_ejabberd --- diff --git a/src/Util/ExAuth.php b/src/Util/ExAuth.php index 054b87aad4..555ab861bd 100644 --- a/src/Util/ExAuth.php +++ b/src/Util/ExAuth.php @@ -310,6 +310,7 @@ class ExAuth $lockpath = Config::get('jabber', 'lockpath'); if (is_null($lockpath)) { + $this->writeLog(LOG_INFO, 'No lockpath defined.'); return; } @@ -325,6 +326,9 @@ class ExAuth // Now it is safe to create the pid file PidFile::create($file); + if (!file_exists($file)) { + $this->writeLog(LOG_WARNING, 'Logfile ' . $file . " couldn't be created."); + } } /**