Skip to content

Commit 9c88662

Browse files
committed
add log on start
1 parent d394155 commit 9c88662

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ export async function initComponents(): Promise<AppComponents> {
2525

2626
const metrics = await createMetricsComponent(metricDeclarations, { config })
2727
const logs = await createLogComponent({ metrics })
28+
const logger = logs.getLogger('main')
29+
logger.info('Queue Producer Started v1.0.0')
2830
const server = await createServerComponent<GlobalContext>({ config, logs }, {})
2931
const statusChecks = await createStatusCheckComponent({ server, config })
3032
const fetch = await createFetchComponent()

0 commit comments

Comments
 (0)