aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-11-19 10:41:30 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-19 10:41:30 +0100
commit4ff34daedb17a93aa8afc7ee1004b7c71386f794 (patch)
treed3cfb143dbf46e5f933e46fa16fc88523d265c85 /settings
parent3cac07bedb3ba56eef356857af5bf839ae9393b3 (diff)
parent9671103121cef93470b5badf7e46ffd8ecbddf2d (diff)
downloadnextcloud-server-4ff34daedb17a93aa8afc7ee1004b7c71386f794.tar.gz
nextcloud-server-4ff34daedb17a93aa8afc7ee1004b7c71386f794.zip
Merge pull request #20533 from owncloud/log-level
clarify log level setting design, fix #20514
Diffstat (limited to 'settings')
-rw-r--r--settings/templates/admin.php19
1 files changed, 10 insertions, 9 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 27785c26dfe..24af4964248 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -491,15 +491,6 @@ if ($_['cronErrors']) {
<div class="section" id="log-section">
<h2><?php p($l->t('Log'));?></h2>
- <?php p($l->t('Log level'));?> <select name='loglevel' id='loglevel'>
-<?php for ($i = 0; $i < 5; $i++):
- $selected = '';
- if ($i == $_['loglevel']):
- $selected = 'selected="selected"';
- endif; ?>
- <option value='<?php p($i)?>' <?php p($selected) ?>><?php p($levelLabels[$i])?></option>
-<?php endfor;?>
-</select>
<?php if ($_['showLog'] && $_['doesLogFileExist']): ?>
<table id="log" class="grid">
<?php foreach ($_['entries'] as $entry): ?>
@@ -537,6 +528,16 @@ if ($_['cronErrors']) {
</em>
<?php endif; ?>
<?php endif; ?>
+
+ <p><?php p($l->t('What to log'));?> <select name='loglevel' id='loglevel'>
+ <?php for ($i = 0; $i < 5; $i++):
+ $selected = '';
+ if ($i == $_['loglevel']):
+ $selected = 'selected="selected"';
+ endif; ?>
+ <option value='<?php p($i)?>' <?php p($selected) ?>><?php p($levelLabels[$i])?></option>
+ <?php endfor;?>
+ </select></p>
</div>
<div class="section" id="admin-tips">