Some more logging for auth_ejabberd
This commit is contained in:
parent
75ba84efa8
commit
869af9f323
1 changed files with 4 additions and 0 deletions
|
@ -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.");
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue