We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 410ab92 commit 2be9ed6Copy full SHA for 2be9ed6
src/dirsync/config.ts
@@ -3,6 +3,7 @@ import {
3
SecretsManagerClient,
4
} from "@aws-sdk/client-secrets-manager";
5
import { z } from "zod";
6
+import { logger } from "./logging";
7
8
export const CONFIG_SECRET = "infra-core-api-gsuite-dirsync-config";
9
@@ -62,8 +63,8 @@ export const getConfig = async (): Promise<Config> => {
62
63
environment,
64
};
65
- console.log(
66
- `Configuration loaded successfully for environment: ${config.environment}`,
+ logger.info(
67
+ `Configuration loaded successfully for "${config.environment}" environment`,
68
);
69
70
return config;
0 commit comments