mirror of
https://github.com/nextcloud/docker.git
synced 2024-11-18 02:56:42 +01:00
parent
3a11e560d0
commit
305929f9af
3 changed files with 39 additions and 0 deletions
13
23/apache/config/logging.config.php
Normal file
13
23/apache/config/logging.config.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?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';
|
||||
}
|
13
23/fpm-alpine/config/logging.config.php
Normal file
13
23/fpm-alpine/config/logging.config.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?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';
|
||||
}
|
13
23/fpm/config/logging.config.php
Normal file
13
23/fpm/config/logging.config.php
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?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';
|
||||
}
|
Loading…
Reference in a new issue