@vheins/local-memory-mcp 0.8.10 → 0.8.11
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.
|
@@ -166,7 +166,7 @@ function createFileSink(logDir, maxFiles = 5) {
|
|
|
166
166
|
const date = (/* @__PURE__ */ new Date()).toISOString().slice(0, 10).replace(/-/g, "");
|
|
167
167
|
const logFile = `${logDir}/mcp-${date}.log`;
|
|
168
168
|
return (payload) => {
|
|
169
|
-
const line = `${(/* @__PURE__ */ new Date()).toISOString()} [${payload.level.toUpperCase()}] ${JSON.stringify(payload.data)}
|
|
169
|
+
const line = `${(/* @__PURE__ */ new Date()).toISOString()} [${payload.level.toUpperCase()}] [pid:${process.pid}] ${JSON.stringify(payload.data)}
|
|
170
170
|
`;
|
|
171
171
|
try {
|
|
172
172
|
fs2.appendFileSync(logFile, line);
|
package/dist/dashboard/server.js
CHANGED
package/dist/mcp/server.js
CHANGED