Skip to content

Update logstreamlineparsersyslogng.class.php#96

Merged
alorbach merged 1 commit intorsyslog:masterfrom
mrkkrn:master
Apr 9, 2026
Merged

Update logstreamlineparsersyslogng.class.php#96
alorbach merged 1 commit intorsyslog:masterfrom
mrkkrn:master

Conversation

@mrkkrn
Copy link
Copy Markdown
Contributor

@mrkkrn mrkkrn commented Jul 20, 2023

fix for parser when syslog-ng is selected.

syslog-ng: syslog-ng 4 (4.2.0)
loganalyzer: commit: 18c40e1

loganalyzer config.php
$CFG['DefaultSourceID'] = 'Source1'; $CFG['Sources']['Source1']['ID'] = 'Source1'; $CFG['Sources']['Source1']['Name'] = 'whatever'; $CFG['Sources']['Source1']['ViewID'] = 'SYSLOG'; $CFG['Sources']['Source1']['SourceType'] = SOURCE_DISK; $CFG['Sources']['Source1']['LogLineType'] = 'syslogng'; $CFG['Sources']['Source1']['DiskFile'] = '/var/log/syslogng.log';

Symptoms
datetime [error] xyz: *29 FastCGI sent in stderr: "PHP message: PHP Warning: ob_start(): function &quot;ob_gzhandler&quot; not found or invalid function name in /usr/local/www/loganalyzer/include/functions_common.php on line 649; PHP message: PHP Notice: ob_start(): Failed to create buffer in /usr/local/www/loganalyzer/include/functions_common.php on line 649; PHP message: PHP Fatal error: Uncaught Error: Class "LogStreamLineParsersyslogng" not found in /usr/local/www/loganalyzer/classes/logstreamconfigdisk.class.php:77 Stack trace: #0 /usr/local/www/loganalyzer/classes/logstreamconfigdisk.class.php(54): LogStreamConfigDisk->CreateLineParser() #1 /usr/local/www/loganalyzer/index.php(234): LogStreamConfigDisk->LogStreamFactory() #2 {main} thrown in /usr/local/www/loganalyzer/classes/logstreamconfigdisk.class.php on line 77" while reading response header from upstream, client: <ipaddress>, server: log.krabica.local, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm.sock:", host: "<ipaddress>", referrer: "http://<ipaddress>/install.php?step=8"

`

@alorbach
Copy link
Copy Markdown
Member

alorbach commented Apr 9, 2026

@cubic-dev-ai review

@cubic-dev-ai
Copy link
Copy Markdown

cubic-dev-ai bot commented Apr 9, 2026

@cubic-dev-ai review

@alorbach I have started the AI code review. It will take a few minutes to complete.

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@alorbach alorbach merged commit 9f30a39 into rsyslog:master Apr 9, 2026
1 check passed
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.

2 participants