stdout
, or in {configDir}/logs/overseerr.log
.',
+ time: 'Timestamp',
+ level: 'Severity',
+ label: 'Label',
+ message: 'Message',
+ filterDebug: 'Debug',
+ filterInfo: 'Info',
+ filterWarn: 'Warning',
+ filterError: 'Error',
+ noresults: 'No results.',
+ showall: 'Show All Logs',
+ showingresults:
+ 'Showing {from} to {to} of {total} results',
+ resultsperpage: 'Display {pageSize} results per page',
+ next: 'Next',
+ previous: 'Previous',
+ pauseLogs: 'Pause',
+ resumeLogs: 'Resume',
+});
+
+type Filter = 'debug' | 'info' | 'warn' | 'error';
const SettingsLogs: React.FC = () => {
+ const intl = useIntl();
+ const [pageIndex, setPageIndex] = useState(0);
+ const [currentFilter, setCurrentFilter] = useStatestdout
(container logs) or looking in{' '}
- /app/config/logs/overseerr.log
.
+
+ {intl.formatMessage(messages.logsDescription, {
+ code: function code(msg) {
+ return {msg}
;
+ },
+ configDir: appData ? appData.appDataPath : '/app/config',
+ })}
+
stdout
, or in {configDir}/logs/overseerr.log
.",
+ "components.Settings.SettingsLogs.message": "Message",
+ "components.Settings.SettingsLogs.next": "Next",
+ "components.Settings.SettingsLogs.noresults": "No results.",
+ "components.Settings.SettingsLogs.pauseLogs": "Pause",
+ "components.Settings.SettingsLogs.previous": "Previous",
+ "components.Settings.SettingsLogs.resultsperpage": "Display {pageSize} results per page",
+ "components.Settings.SettingsLogs.resumeLogs": "Resume",
+ "components.Settings.SettingsLogs.showall": "Show All Logs",
+ "components.Settings.SettingsLogs.showingresults": "Showing {from} to {to} of {total} results",
+ "components.Settings.SettingsLogs.time": "Timestamp",
"components.Settings.SettingsUsers.defaultPermissions": "Default User Permissions",
"components.Settings.SettingsUsers.localLogin": "Enable Local User Sign-In",
"components.Settings.SettingsUsers.save": "Save Changes",
diff --git a/yarn.lock b/yarn.lock
index 8e40f1987..4a08e6718 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2097,6 +2097,13 @@
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.45.tgz#e9387572998e5ecdac221950dab3e8c3b16af884"
integrity sha512-jnqIUKDUqJbDIUxm0Uj7bnlMnRm1T/eZ9N+AVMqhPgzrba2GhGG5o/jCTwmdPK709nEZsGoMzXEDUjcXHa3W0g==
+"@types/express-rate-limit@^5.1.1":
+ version "5.1.1"
+ resolved "https://registry.yarnpkg.com/@types/express-rate-limit/-/express-rate-limit-5.1.1.tgz#e5b0239d18c1580e52ae56dce4248333302a1dc8"
+ integrity sha512-6oMYZBLlhxC5sdcRXXz528QyfGz3zTy9YdHwqlxLfgx5Cd3zwYaUjjPpJcaTtHmRefLi9P8kLBPz2wB7yz4JtQ==
+ dependencies:
+ "@types/express" "*"
+
"@types/express-serve-static-core@*":
version "4.17.9"
resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.9.tgz#2d7b34dcfd25ec663c25c85d76608f8b249667f1"
@@ -5714,6 +5721,11 @@ express-openapi-validator@^4.12.5:
ono "^7.1.3"
path-to-regexp "^6.2.0"
+express-rate-limit@^5.2.6:
+ version "5.2.6"
+ resolved "https://registry.yarnpkg.com/express-rate-limit/-/express-rate-limit-5.2.6.tgz#b454e1be8a252081bda58460e0a25bf43ee0f7b0"
+ integrity sha512-nE96xaxGfxiS5jP3tD3kIW1Jg9yQgX0rXCs3rCkZtmbWHEGyotwaezkLj7bnB41Z0uaOLM8W4AX6qHao4IZ2YA==
+
express-session@^1.15.6, express-session@^1.17.1:
version "1.17.1"
resolved "https://registry.yarnpkg.com/express-session/-/express-session-1.17.1.tgz#36ecbc7034566d38c8509885c044d461c11bf357"