Homec4science

Tell HipHop PHP to log errors

Authored by Edward Speyer <edward@fb.com> on May 31 2012, 22:14.

Description

Tell HipHop PHP to log errors

Summary:
HipHop won't log errors unless you set log_errors to true. This is
either on by default in Zend installations currently using phd, or
irrelevant.

http://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors

Test Plan:
Added error_log($random_number) to PhutilNiceDaemon, and launched it
using HipHop. Saw this in the log file:

Bringing daemon 'PhutilNiceDaemon' online...
a random number: 53707991
a random number: 1823619280
a random number: 1822487120
a random number: 564506024
...

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Koolvin

Differential Revision: https://secure.phabricator.com/D2626

Details

Committed
Edward Speyer <edward@fb.com>May 31 2012, 22:51
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUbf96d08aadd3: Remove PhutilSymbolLoader::loadClass(), add setPathPrefix()
Branches
Unknown
Tags
Unknown

Event Timeline

Edward Speyer <edward@fb.com> committed rPHU9b188617e6d1: Tell HipHop PHP to log errors (authored by Edward Speyer <edward@fb.com>).May 31 2012, 22:51