querysub 0.355.0 → 0.356.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -183,7 +183,7 @@ export function logDisk(type: "log" | "warn" | "info" | "error", ...args: unknow
|
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
// We don't want developer errors clogging up the error logs. However, they can still notify errors, Because this will only notify nodes that are able to access us (It uses a reverse connection scheme, so instead of talking to nodes that we can access, we only talk to nodes that can access us)
|
|
186
|
+
// We don't want developer errors clogging up the error logs. However, they can still notify errors, Because this will only notify nodes that are able to access us (It uses a reverse connection scheme, so instead of talking to nodes that we can access, we only talk to nodes that can access us). So we get only OUR local errors. We will still watch all global errors, because we can contact the global server!
|
|
187
187
|
if (isPublic()) {
|
|
188
188
|
let loggers = startupDone ? getLoggers() : undefined;
|
|
189
189
|
if (!loggers) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//todonext
|
|
2
|
+
// Welp... no logs are showing up. That's a problem..
|
|
3
|
+
// Ah, okay, we don't store logs locally. Because... we only log to backblaze? Alright, fair enough...
|
|
4
|
+
/*
|
|
5
|
+
0) LIFECYCLES!
|
|
6
|
+
- To debug auditting (to some degree)
|
|
7
|
+
- To debug why servers are getting sent values from the wrong authority
|
|
8
|
+
- This would be VERY interesting
|
|
9
|
+
- Rewrite the spec for how to do this
|
|
10
|
+
- One big thing is value association. As in, we want logs to be able to associate a session with a user. Even dynamically, so we might log somewhere saying this is the current user, and then we might log after that saying this is the session. And both of the logs might contain something saying this is the thread. And so we could say, okay, for the thread, the current user is this. And then when it says what the session is, we say, okay, well, the current user, which was defined earlier, has this session.
|
|
11
|
+
- The biggest issue with this is caching, as now everything becomes one big bucket
|
|
12
|
+
- We want to be able to cache the parsing of the logs with the different lifecycle specifications. That way, we can view even just specific life cycles, and it can be very fast to load it, even if we have billions of logs, which take hours to parse.
|
|
13
|
+
- I think we do want the lifecycle parsing to be run in the background. We already have a lot of background scripts (although we haven't been running them for a long time).
|
|
14
|
+
- Our log parsing is already pretty fast, which is good. So, then this will be even faster.
|
|
15
|
+
- We will be need to be able to dynamically parse it though. And I guess we'll want to be able to parse it in the browser. And then that becomes a whole complicated thing to manage, but I think it's worth it.
|
|
16
|
+
*/
|
|
@@ -126,7 +126,7 @@ export async function registerManagementPages2(config: {
|
|
|
126
126
|
getModule: () => import("./misc-pages/SnapshotViewer"),
|
|
127
127
|
});
|
|
128
128
|
inputPages.push({
|
|
129
|
-
title: "
|
|
129
|
+
title: "View Synced Paths",
|
|
130
130
|
componentName: "LocalWatchViewer",
|
|
131
131
|
getModule: () => import("./misc-pages/LocalWatchViewer"),
|
|
132
132
|
});
|