Skip to content

Commit

Permalink
NR-317560: Update log level to INFO for scan time
Browse files Browse the repository at this point in the history
  • Loading branch information
IshikaDawda committed Sep 30, 2024
1 parent b0ecd0f commit 544a70f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public long instantiate() throws RestrictionModeException {
public long triggerIAST() throws RestrictionModeException {
try {
if(agentMode.getScanSchedule().getNextScanTime() != null) {
logger.log(LogLevel.FINER, "Security Agent scan time is set to : " + agentMode.getScanSchedule().getNextScanTime(), AgentConfig.class.getName());
logger.log(LogLevel.INFO, "Security Agent scan time is set to : " + agentMode.getScanSchedule().getNextScanTime(), AgentConfig.class.getName());
long delay = agentMode.getScanSchedule().getNextScanTime().getTime() - Instant.now().toEpochMilli();
return (delay > 0)? delay : 0;
}
Expand Down

0 comments on commit 544a70f

Please sign in to comment.