chore: log machine id and system specs
This commit is contained in:
parent
74d779f6e7
commit
2b055948a8
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue