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
F14092125: D21578.diff
Mon, Nov 25, 4:14 AM
Unknown Object (File)
Sat, Nov 23, 10:57 PM
Unknown Object (File)
Mon, Nov 4, 10:48 AM
Unknown Object (File)
Mon, Nov 4, 10:48 AM
Unknown Object (File)
Mon, Nov 4, 10:48 AM
Unknown Object (File)
Sun, Nov 3, 2:00 AM
Unknown Object (File)
Oct 10 2024, 5:26 PM
Unknown Object (File)
Oct 2 2024, 10:11 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