Skip to content

Commit

Permalink
fix: syntax error and logging sensitive info
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Dec 16, 2023
1 parent 57362f6 commit b2552b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Cli {
) {}

async start(): Promise<void> {
this.logger.info(this.cfg, "Starting CLI");
this.logger.debug(this.cfg, "Starting CLI");
const a = this.cfg.app;
const tracer = trace.getTracer(`${a.platform}.${a.service}.${a.module}`);
program
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const otel = new OtelService(cfg);
const logger = await otel.start();

// Start DI
cfg.caches.forEach((v, k) => {
cfg.cache.forEach((v, k) => {
const endpoint = v.endpoints.get("0")!;

const [host, port] = endpoint.split(":") as [string, string];
Expand Down

0 comments on commit b2552b2

Please sign in to comment.