admin/logs: help-link on lo rotation
Massimo Melina committed
Feb 10, 2024 at 22:02 UTC
ebb4a73b625c0494eccfe9ade339eb40dd9750be
1 file changed
+2
-2
admin/src/LogsPage.ts
+2
-2
@@ -9,7 +9,7 @@ import { CFG, Dict, formatBytes, HTTP_UNAUTHORIZED, newDialog, prefix, shortenAg
9
import { logLabels } from './OptionsPage'
10
import {
11
NetmaskField, Flex, IconBtn, useBreakpoint, usePauseButton, useToggleButton, WildcardsSupported, Country,
12
- hTooltip, Btn
12
+ hTooltip, Btn, wikiLink
13
} from './mui';
14
import { GridColDef } from '@mui/x-data-grid'
15
import _ from 'lodash'
@@ -64,7 +64,7 @@ export default function LogsPage() {
64
helperText: "If you want errors in a different log"
65
},
66
{ k: CFG.log_rotation, comp: SelectField, sm: 6, options: [{ value:'', label:"disabled" }, 'daily', 'weekly', 'monthly' ],
67
- helperText: "To keep log-files smaller"
67
+ helperText: wikiLink('Logs#rotation', "To keep log-files smaller"),
68
},
69
{ k: CFG.dont_log_net, comp: NetmaskField, label: "Don't log address", sm: 6, placeholder: "no exception",
70
helperText: h(WildcardsSupported)