chore: log machine id and system specs

This commit is contained in:
haritabh-z01 2025-12-13 01:55:34 +05:30
parent 74d779f6e7
commit 2b055948a8

View file

@ -109,11 +109,15 @@ export class TelemetryService {
// Get unique machine ID
this.machineId = await machineId();
logger.main.info("Machine ID generated for telemetry");
logger.main.info("Machine ID generated for telemetry", {
machineId: this.machineId,
});
// Collect system information
this.systemInfo = await this.collectSystemInfo();
logger.main.info("System information collected for telemetry");
logger.main.info("System information collected for telemetry", {
systemInfo: this.systemInfo,
});
// ! posthog-node code flow doesn't use register to set super properties
// ! Track them manually