Skip to content

Commit

Permalink
ticket-1620 IMA event log scanner moved into external module
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy-skalelabs committed Oct 26, 2023
1 parent 95fd542 commit 0003adf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions npms/skale-ima/imaEventLogScan.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export async function safeGetPastEventsProgressiveExternal(
if( log.verboseGet() >= log.verboseReversed().trace ) {
details.write( strLogPrefix +
cc.debug( "Will run external command to search logs for event " ) +
cc.j( strEventName ) + cc.debug( " via URL " ) + cc.u( joArg ) +
cc.j( strEventName ) + cc.debug( " via URL " ) + cc.u( joArg.url ) +
generateWhileTransferringLogMessageSuffix( optsChainPair ) +
cc.debug( "..." ) + "\n" );
}
Expand All @@ -149,7 +149,7 @@ export async function safeGetPastEventsProgressiveExternal(
if( log.verboseGet() >= log.verboseReversed().error ) {
details.write( strLogPrefix +
cc.error( "Got error from external command to search logs for event " ) +
cc.j( strEventName ) + cc.error( " via URL " ) + cc.u( joArg ) +
cc.j( strEventName ) + cc.error( " via URL " ) + cc.u( joArg.url ) +
generateWhileTransferringLogMessageSuffix( optsChainPair ) +
cc.error( ":" ) + cc.warning( owaspUtils.extractErrorMessage( err ) ) + "\n" );
}
Expand All @@ -158,7 +158,7 @@ export async function safeGetPastEventsProgressiveExternal(
if( log.verboseGet() >= log.verboseReversed().trace ) {
details.write( strLogPrefix +
cc.debug( "Done running external command to search logs for event " ) +
cc.j( strEventName ) + cc.debug( " via URL " ) + cc.u( joArg ) +
cc.j( strEventName ) + cc.debug( " via URL " ) + cc.u( joArg.url ) +
generateWhileTransferringLogMessageSuffix( optsChainPair ) +
cc.debug( "." ) + "\n" );
}
Expand Down

0 comments on commit 0003adf

Please sign in to comment.