improved logger
This commit is contained in:
parent
e8485dd140
commit
0f510bfa33
9 changed files with 110 additions and 1250 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue