eppleton commented on code in PR #9840:
URL: https://github.com/apache/netbeans/pull/9840#discussion_r4737131893
##########
ide/projectui/src/org/netbeans/modules/project/ui/OpenProjectList.java:
##########
@@ -2131,3 +2131,4 @@ private static void logProjects(String message, Project[]
projects) {
}
}
+l
Review Comment:
A stray `l` was added after the closing brace of the class, so the file
won't compile.
##########
ide/parsing.indexing/src/org/netbeans/modules/parsing/impl/indexing/LogContext.java:
##########
@@ -186,7 +186,7 @@ void log() {
// enable profiling just up to the 1st exception report
System.setProperty(RepositoryUpdater.PROP_SAMPLING,
"oneshot"); // NOI18N
}
- final LogRecord r = new LogRecord(Level.INFO, LOG_MESSAGE_EARLY);
+ final LogRecord r = new LogRecord(Level.FINE, LOG_MESSAGE_EARLY);
Review Comment:
`SCAN_CANCELLED_EARLY` isn't a usage statistic. `UIHandler.publish` (the
instance `Installer` attaches to the root logger) turns it into the "Scan
canceled too early" dialog. It is logged through `LogContext`'s own logger,
which is not under `org.netbeans.ui` and has no level of its own, so its
effective level is the root's `INFO`. At `FINE` the logger discards the record
before any handler sees it, and the dialog would no longer appear (from
reading, not tested). I'd leave this one at `INFO`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists