Need to change log level for provisiond node scan completion

Description

When provisiond is scanning a node, the initial log is INFO level:

INFO [scanExecutor-11] NodeScan: Scanning node 84762/space/1411327

However, the ending log is DEBUG level:

DEBUG [pool-3-thread-15] NodeScan: Finished scanning node 84762/space/1411327

It should be INFO as well.

Extry credit - not sure how useful "pool-3-thread-15" is as a label, since it isn't used anywhere else as far as I can tell. Perhaps it should be changed.

Acceptance / Success Criteria

None

Attachments

2

Lucidchart Diagrams

Activity

Show:

Benjamin Reed June 24, 2013 at 12:23 PM

merged to 1.12 and up

Ron Roskens November 8, 2012 at 10:59 PM

Add 2nd patch to fix thread naming issue by creating a ThreadFactory class via spring and passing that as a 2nd argument to PausibleScheduledThreadPoolExecutor in the bean instantiation.

Run test IfIndexNullTest to see the combined affect of these 2 patches.

Ron Roskens November 7, 2012 at 6:49 PM

Easy fix for the ending log message.

The "pool-3-thread-15" is a bit trickier since thats off in the org.opennms.core.tasks classes.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created November 7, 2012 at 6:20 PM
Updated January 27, 2017 at 4:21 PM
Resolved June 24, 2013 at 12:23 PM