cleaned up logs for apps
This commit is contained in:
parent
4726a85cf3
commit
43f4429998
7 changed files with 28 additions and 28 deletions
|
|
@ -9,7 +9,7 @@ const logger = getLogger('ib-provider');
|
|||
|
||||
// Initialize and register the IB provider
|
||||
export function initializeIBProvider() {
|
||||
logger.info('Registering IB provider with scheduled jobs...');
|
||||
logger.debug('Registering IB provider with scheduled jobs...');
|
||||
|
||||
const ibProviderConfig: HandlerConfigWithSchedule = {
|
||||
name: 'ib',
|
||||
|
|
@ -52,11 +52,11 @@ export function initializeIBProvider() {
|
|||
logger.info('Fetched symbol summary from IB');
|
||||
|
||||
if (sessionHeaders) {
|
||||
logger.info('Fetching exchanges from IB');
|
||||
logger.debug('Fetching exchanges from IB');
|
||||
const exchanges = await fetchExchanges(sessionHeaders);
|
||||
logger.info('Fetched exchanges from IB', { count: exchanges?.length });
|
||||
|
||||
logger.info('Fetching symbols from IB');
|
||||
logger.debug('Fetching symbols from IB');
|
||||
const symbols = await fetchSymbols(sessionHeaders);
|
||||
logger.info('Fetched symbols from IB', { symbols });
|
||||
|
||||
|
|
@ -78,5 +78,5 @@ export function initializeIBProvider() {
|
|||
};
|
||||
|
||||
handlerRegistry.registerWithSchedule(ibProviderConfig);
|
||||
logger.info('IB provider registered successfully with scheduled jobs');
|
||||
logger.debug('IB provider registered successfully with scheduled jobs');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue