Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: add logging about persistence type

Abdullah Atta6bd4924c0bb6
diff --git a/apps/web/src/bootstrap.tsx b/apps/web/src/bootstrap.tsx
index f3df0ef93..9040a844c 100644
--- a/apps/web/src/bootstrap.tsx
+++ b/apps/web/src/bootstrap.tsx
@@ -24,7 +24,7 @@ import {
initializeFeatureChecks,
isFeatureSupported
} from "./utils/feature-check";
-import { initializeLogger } from "./utils/logger";
+import { initializeLogger, logger } from "./utils/logger";
import { shouldShowWrapped } from "./utils/should-show-wrapped";
type Route<TProps = null> = {
@@ -198,6 +198,10 @@ export async function init() {
? ("memory" as const)
: ("db" as const);
+ logger.info(
+ `Initializing key store with persistence: ${persistence} for path: ${path}`
+ );
+
return { Component, path, props: route.props, persistence };
}