Skip to content

Commit

Permalink
Update readme.md with new logging config behavior description
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusGnigler committed Jun 26, 2022
1 parent 28a44bc commit 5d7f682
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,15 @@ To customize other PHP limits you can simply change the following variables:
- `PHP_MEMORY_LIMIT` (default `512M`) This sets the maximum amount of memory in bytes that a script is allowed to allocate. This is meant to help prevent poorly written scripts from eating up all available memory but it can prevent normal operation if set too tight.
- `PHP_UPLOAD_LIMIT` (default `512M`) This sets the upload limit (`post_max_size` and `upload_max_filesize`) for big files. Note that you may have to change other limits depending on your client, webserver or operating system. Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html) for more information.

To customize the default logging behavior you can simply set the following variables:

- `LOGLEVEL` (default: `2 (WARN)`) Logging verbosity
- `LOGTIMEZONE` (default: `UTC`) Logging timezone
- `LOGTAG` (default: `Nextcloud`) Logging identify tag for syslog
- `LOGFILE` (defaults back to `NEXTCLOUD_DATA_DIR` or if also not set to file `/nextcloud.log`) this sets the logfile variable. It's possible to set this to StdOut with `/dev/stdout`

Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html) for more information.


## Using the apache image behind a reverse proxy and auto configure server host and protocol

Expand Down

0 comments on commit 5d7f682

Please sign in to comment.