diff options
author | Joel Gerber <joel@grrbrr.ca> | 2017-04-10 14:38:40 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2017-04-10 14:38:40 +0300 |
commit | 40b51b9dc96fadeafd944c4039107a01aa106f40 (patch) | |
tree | 8b2751e0ae5fae7577500cf77b575194303b025f /installer | |
parent | 938dd4670bee27bd46fbf7d64cd0526eeb24669f (diff) |
Add Log to STDOUT Feature (#5721)
Primarily useful for PHP applications running under PHP-FPM which in
turn is running within a Docker container. But also it is generally
useful in any situation where you want to be able to send the logs
directly to your terminal when debugging &etc.
Diffstat (limited to 'installer')
-rw-r--r-- | installer/config.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/config.php b/installer/config.php index 19a65bbca..75607187d 100644 --- a/installer/config.php +++ b/installer/config.php @@ -216,11 +216,11 @@ echo '<label for="cfgdebug4">Print errors (to the browser)</label><br />'; <?php $select_log_driver = new html_select(array('name' => '_log_driver', 'id' => "cfglogdriver")); -$select_log_driver->add(array('file', 'syslog'), array('file', 'syslog')); +$select_log_driver->add(array('file', 'syslog', 'stdout'), array('file', 'syslog', 'stdout')); echo $select_log_driver->show($RCI->getprop('log_driver', 'file')); ?> -<div>How to do logging? 'file' - write to files in the log directory, 'syslog' - use the syslog facility.</div> +<div>How to do logging? 'file' - write to files in the log directory, 'syslog' - use the syslog facility, 'stdout' writes to the process' STDOUT file descriptor.</div> </dd> <dt class="propname">log_dir</dt> |