Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docs for passenger_log_file #913

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions source/reference/files/nginx-stage-yml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,28 @@ Configuration Options

passenger_pool_idle_time: 900

.. describe:: passenger_log_file (String)

The log file that passenger will write standard out and standard
error to.

.. note::
You may use the variable ``%{user}`` to write user specific files.

Default
Write to a per user location in ``/var/log/ondemand-nginx/``.

.. code-block:: yaml

passenger_log_file: '/var/log/ondemand-nginx/%{user}/error.log'

Example
Write to a per user location in ``/some/other/location/``.

.. code-block:: yaml

passenger_log_file: '/some/other/location/%{user}/error.log'

.. describe:: passenger_options (Hash)

A Hash of additional Passenger options
Expand Down