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)
Feb 20 2024, 8:13 PM
Unknown Object (File)
Feb 19 2024, 4:16 AM
Unknown Object (File)
Feb 1 2024, 9:56 PM
Unknown Object (File)
Jan 18 2024, 10:53 PM
Unknown Object (File)
Dec 27 2023, 1:42 PM
Unknown Object (File)
Dec 27 2023, 1:42 PM
Unknown Object (File)
Dec 27 2023, 1:41 PM
Unknown Object (File)
Dec 22 2023, 3:30 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
Branch
log0
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25174
Build 34744: Run Core Tests
Build 34743: arc lint + arc unit