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
Unknown Object (File)
Sun, Jul 12, 5:37 AM
Unknown Object (File)
Wed, Jul 1, 2:36 PM
Unknown Object (File)
Jun 29 2026, 2:30 PM
Unknown Object (File)
Jun 28 2026, 4:56 PM
Unknown Object (File)
Apr 7 2026, 4:56 AM
Unknown Object (File)
Apr 7 2026, 4:51 AM
Unknown Object (File)
Feb 6 2026, 2:07 PM
Unknown Object (File)
Dec 3 2025, 7:56 PM
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