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)
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
Unknown Object (File)
Oct 1 2024, 10:16 AM
Unknown Object (File)
Sep 23 2024, 9:11 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