switched all console logs to logger
This commit is contained in:
parent
3877902ff4
commit
a3f2f199b4
14 changed files with 125 additions and 122 deletions
|
|
@ -19,7 +19,7 @@ export async function checkSessions(handler: BaseHandler): Promise<{
|
|||
// Check which session IDs need more sessions and queue creation jobs
|
||||
let queuedCount = 0;
|
||||
for (const [sessionType, sessionId] of Object.entries(QM_SESSION_IDS)) {
|
||||
console.log(`Checking session ID: ${sessionId}`);
|
||||
handler.logger.debug(`Checking session ID: ${sessionId}`);
|
||||
if (sessionManager.needsMoreSessions(sessionId)) {
|
||||
const currentCount = sessionManager.getSessions(sessionId).length;
|
||||
const neededSessions = SESSION_CONFIG.MAX_SESSIONS - currentCount;
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import { createRoutes } from './routes/create-routes';
|
|||
|
||||
// Initialize configuration with service-specific overrides
|
||||
const config = initializeStockConfig('dataIngestion');
|
||||
console.log('Data Ingestion Service Configuration:', JSON.stringify(config, null, 2));
|
||||
|
||||
|
||||
// Create service application
|
||||
const app = new ServiceApplication(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue