Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

feat(api): log network info for debug log correlation

Gergő Móricz298fd14980e3
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 3ff680558..9144d0c8a 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -38,6 +38,10 @@ const { ExpressAdapter } = require("@bull-board/express");
const numCPUs = process.env.ENV === "local" ? 2 : os.cpus().length;
logger.info(`Number of CPUs: ${numCPUs} available`);
+logger.info("Network info dump", {
+ networkInterfaces: os.networkInterfaces(),
+});
+
// Install cacheable lookup for all other requests
cacheableLookup.install(http.globalAgent);
cacheableLookup.install(https.globalAgent);