Skip to content

Commit 26922bd

Browse files
author
Till Brehm
committed
Merge branch 'patch-7' into 'stable-3.1'
Make the debug log more specific See merge request ispconfig/ispconfig3!847
2 parents 87c2771 + e908814 commit 26922bd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

server/plugins-available/shelluser_jailkit_plugin.inc.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,11 @@ function insert($event_name, $data) {
131131

132132
$this->_update_website_security_level();
133133
$app->system->web_folder_protection($web['document_root'], true);
134+
$app->log("Jailkit Plugin -> insert username:".$data['new']['username'], LOGLEVEL_DEBUG);
135+
} else {
136+
$app->log("Jailkit Plugin -> insert username:".$data['new']['username']. "skipped, Jailkit not selected", LOGLEVEL_DEBUG);
134137
}
135138

136-
$app->log("Jailkit Plugin -> insert username:".$data['new']['username'], LOGLEVEL_DEBUG);
137-
138139
} else {
139140
$app->log("Jailkit Plugin -> insert username:".$data['new']['username']." skipped, the user does not exist.", LOGLEVEL_WARN);
140141
}

0 commit comments

Comments
 (0)