improved logger

This commit is contained in:
Bojan Kucera 2025-06-07 10:07:49 -04:00
parent e8485dd140
commit 0f510bfa33
9 changed files with 110 additions and 1250 deletions

View file

@ -1,7 +1,7 @@
/**
* Data Service - Combined live and historical data ingestion
*/
import { createLogger, GracefulShutdownManager } from '@stock-bot/logger';
import { createLogger } from '@stock-bot/logger';
import { loadEnvVariables } from '@stock-bot/config';
import { Hono } from 'hono';
import { serve } from '@hono/node-server';
@ -11,7 +11,6 @@ loadEnvVariables();
const app = new Hono();
const logger = createLogger('data-service');
const shutdownManager = new GracefulShutdownManager(logger);
const PORT = parseInt(process.env.DATA_SERVICE_PORT || '3002');
// Health check endpoint