projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75ba84e
)
Some more logging for auth_ejabberd
author
Michael
<heluecht@pirati.ca>
Mon, 25 Dec 2017 23:03:14 +0000
(23:03 +0000)
committer
Michael
<heluecht@pirati.ca>
Mon, 25 Dec 2017 23:03:14 +0000
(23:03 +0000)
src/Util/ExAuth.php
patch
|
blob
|
history
diff --git
a/src/Util/ExAuth.php
b/src/Util/ExAuth.php
index 054b87aad4d6dafb66447f8c01053d2b35733156..555ab861bdbcc65a02b37996942683888f9dd4da 100644
(file)
--- 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.");
+ }
}
/**