Skip to content

Commit

Permalink
fix: log only the first 8 UUID characters
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKolarik committed Oct 18, 2024
1 parent e76af36 commit 4de5aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/probe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if (process.env['GP_HOST_FIRMWARE']) {
logger.info(`Hardware probe running firmware version ${process.env['GP_HOST_FIRMWARE'].substring(1)}.`);
}

logger.info(`Starting probe version ${VERSION} in a ${process.env['NODE_ENV'] ?? 'production'} mode with UUID ${probeUuid}.`);
logger.info(`Starting probe version ${VERSION} in a ${process.env['NODE_ENV'] ?? 'production'} mode with UUID ${probeUuid.substring(0, 8)}.`);

function connect () {
const worker = {
Expand Down

0 comments on commit 4de5aca

Please sign in to comment.