Page MenuHomePhabricator

Add a simple primitive for managing PHP runtime error logs
ClosedPublic

Authored by epriestley on Feb 26 2021, 10:42 PM.
Tags
None
Referenced Files
F13151883: D21578.diff
Sat, May 4, 6:53 PM
Unknown Object (File)
Wed, May 1, 12:19 AM
Unknown Object (File)
Sat, Apr 27, 11:39 AM
Unknown Object (File)
Sat, Apr 20, 5:35 PM
Unknown Object (File)
Sat, Apr 20, 7:32 AM
Unknown Object (File)
Fri, Apr 5, 6:32 PM
Unknown Object (File)
Apr 5 2024, 7:40 AM
Unknown Object (File)
Mar 29 2024, 11:54 AM
Subscribers
None

Details

Summary

Ref T13624. If we want to send PHP errors to a log, using the "error_log" configuration option catches the broadest set of errors across versions of PHP.

Configuring this disables errors on stderr, since they're sent to the log instead. We'd like them to go to both places; provide a simple wrapper for this. Also do a bit of writability testing.

Test Plan

Wrote errors to a new log, see followup changes.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable