Skip to content

Fixing: #298 and #300 - Signal Handler, Table Truncation and CHANGLOG Updates#316

Merged
TheWitness merged 5 commits intodevelopfrom
accidental-truncate
Apr 10, 2026
Merged

Fixing: #298 and #300 - Signal Handler, Table Truncation and CHANGLOG Updates#316
TheWitness merged 5 commits intodevelopfrom
accidental-truncate

Conversation

@TheWitness
Copy link
Copy Markdown
Member

* This should stop the table truncation after install, it will flip the table to use the 'upgrade' process over the truncate process.
* Most of the issues around #298 have been corrected with the exception of signal handling in syslog_process which is now addressed.
* Also doing CHANGELOG.md catchup commit
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Addresses syslog plugin stability and install/upgrade behavior issues (notably #298 and #300) by improving poller shutdown handling and preventing unintended table truncation/drops, plus updating the changelog.

Changes:

  • Add UNIX signal handling and runtime/output flushing adjustments to syslog_process.php.
  • Update install/upgrade logic in setup.php to prefer upgrade behavior and use a column-existence helper for syslog_reports.
  • Catch up CHANGELOG.md entries for recent issues/fixes.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
syslog_process.php Adds signal handler setup and modifies runtime/output settings for the syslog poller process.
setup.php Adjusts table setup logic to avoid repeated truncation and updates column existence checking for syslog_reports.
CHANGELOG.md Adds missing issue entries related to recent syslog fixes/hardening work.

Comment thread syslog_process.php
Comment thread syslog_process.php Outdated
Comment thread syslog_process.php Outdated
Comment thread syslog_process.php Outdated
Comment thread setup.php Outdated
Comment thread setup.php
TheWitness and others added 4 commits April 10, 2026 15:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@TheWitness TheWitness merged commit a626774 into develop Apr 10, 2026
4 checks passed
@TheWitness TheWitness deleted the accidental-truncate branch April 10, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants