Skip to content

Conversation

@bukka
Copy link
Member

@bukka bukka commented Jun 14, 2022

This PR is a more structured implementation of #7334 and also applies it on PHP closelog function. The aim is to just make sure that have_called_openlog gets reset on each closelog.

I have been also thinking about a possible test but that would be just too flaky and only available to very limited set of platform (e.g. where /var/log/syslog is available and readable). So it wouldn't work in the pipeline anyway. Instead I just used a manual test for testing that this works that can be seen at https://github.com/bukka/php-util/tree/09f5c2e30d877d48e979514d8d1c602d1a8336ae/tests/fpm/syslog-ident .

@bukka bukka changed the base branch from master to PHP-8.0 June 14, 2022 19:57
@bukka bukka force-pushed the fpm_syslog_ident branch from 9f6b512 to 177a26c Compare June 14, 2022 19:57
@bukka bukka force-pushed the fpm_syslog_ident branch from 177a26c to e330f44 Compare June 19, 2022 19:06
@bukka bukka merged commit e330f44 into php:PHP-8.0 Jun 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant