mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 11:06:43 +01:00
13 lines
354 B
PHP
13 lines
354 B
PHP
|
<?php
|
||
|
|
||
|
$CONFIG = array(
|
||
|
'loglevel' => getenv('LOGLEVEL') ?: 2,
|
||
|
'logtimezone' => getenv('LOGTIMEZONE') ?: 'UTC',
|
||
|
'syslog_tag' => getenv('LOGTAG') ?: 'Nextcloud',
|
||
|
);
|
||
|
|
||
|
if (getenv('LOGFILE')) {
|
||
|
$CONFIG['logfile'] = getenv('LOGFILE');
|
||
|
} else {
|
||
|
$CONFIG['logfile'] = getenv('NEXTCLOUD_DATA_DIR') ?: '/var/www/nextcloud' + '/nextcloud.log';
|
||
|
}
|