Skip to content

Commit 2be9ed6

Browse files
committed
Update logging statements
1 parent 410ab92 commit 2be9ed6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/dirsync/config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {
33
SecretsManagerClient,
44
} from "@aws-sdk/client-secrets-manager";
55
import { z } from "zod";
6+
import { logger } from "./logging";
67

78
export const CONFIG_SECRET = "infra-core-api-gsuite-dirsync-config";
89

@@ -62,8 +63,8 @@ export const getConfig = async (): Promise<Config> => {
6263
environment,
6364
};
6465

65-
console.log(
66-
`Configuration loaded successfully for environment: ${config.environment}`,
66+
logger.info(
67+
`Configuration loaded successfully for "${config.environment}" environment`,
6768
);
6869

6970
return config;

0 commit comments

Comments
 (0)