diff options
author | Anton Tananaev <anton@traccar.org> | 2024-01-15 16:29:07 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2024-01-15 16:29:07 -0800 |
commit | 72cfe80fb23bb5e1d2aec2f2d2b4cfcd3662a82d (patch) | |
tree | efa860d9667f8937aa416c9b2f1aba3bd96de0fa /src/main/java/org/traccar/config | |
parent | a531585474ca9ee7437d2a5b1698d1cf5f507a09 (diff) | |
download | trackermap-server-72cfe80fb23bb5e1d2aec2f2d2b4cfcd3662a82d.tar.gz trackermap-server-72cfe80fb23bb5e1d2aec2f2d2b4cfcd3662a82d.tar.bz2 trackermap-server-72cfe80fb23bb5e1d2aec2f2d2b4cfcd3662a82d.zip |
Configurable show unknown logs
Diffstat (limited to 'src/main/java/org/traccar/config')
-rw-r--r-- | src/main/java/org/traccar/config/Keys.java | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/config/Keys.java b/src/main/java/org/traccar/config/Keys.java index 3528dafa0..1da68e1c0 100644 --- a/src/main/java/org/traccar/config/Keys.java +++ b/src/main/java/org/traccar/config/Keys.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 - 2023 Anton Tananaev (anton@traccar.org) + * Copyright 2019 - 2024 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1247,7 +1247,7 @@ public final class Keys { /** * Maximum time period for reports in seconds. Can be useful to prevent users to request unreasonably long reports. - * By default there is no limit. + * By default, there is no limit. */ public static final ConfigKey<Long> REPORT_PERIOD_LIMIT = new LongConfigKey( "report.periodLimit", @@ -1799,6 +1799,13 @@ public final class Keys { List.of(KeyType.CONFIG)); /** + * Show logs from unknown devices. + */ + public static final ConfigKey<Boolean> WEB_SHOW_UNKNOWN_DEVICES = new BooleanConfigKey( + "web.showUnknownDevices", + List.of(KeyType.CONFIG)); + + /** * Output logging to the standard terminal output instead of a log file. */ public static final ConfigKey<Boolean> LOGGER_CONSOLE = new BooleanConfigKey( |