Add logging to debug.log if suspect a group is broken.
This commit is contained in:
parent
970f433e0c
commit
14d35f49e3
|
@ -115,6 +115,7 @@ if ($message) {
|
|||
$subthread = thread_getsubthreadids($message->header->id, $thread);
|
||||
if (! $subthread) {
|
||||
echo '<center>Group is rebuilding... Please try again later</center>';
|
||||
file_put_contents($debug_log, "\n" . format_log_date() . " " . $config_name . " GROUP ERROR: ".$group." may need repair", FILE_APPEND);
|
||||
exit();
|
||||
}
|
||||
if ($thread_articles == false) {
|
||||
|
|
|
@ -29,6 +29,7 @@ $CONFIG = include ($config_file);
|
|||
$OVERRIDES = include ($config_dir . '/overrides.inc.php');
|
||||
|
||||
$logdir = $spooldir . '/log';
|
||||
$debug_log = $logdir . '/debug.log';
|
||||
$lockdir = $spooldir . '/lock';
|
||||
$ssldir = $spooldir . '/ssl/';
|
||||
$user_ban_file = $config_dir . '/banned_names.conf';
|
||||
|
|
Loading…
Reference in New Issue