Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/org/scijava/log/AbstractLogService.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
*/
public abstract class AbstractLogService extends AbstractService implements LogService {

private int currentLevel = System.getenv("DEBUG") == null ? WARN : DEBUG;
private int currentLevel = System.getenv("DEBUG") == null ? INFO : DEBUG;

private Map<String, Integer> classAndPackageLevels =
new HashMap<String, Integer>();
Expand Down Expand Up @@ -77,7 +77,7 @@ public AbstractLogService() {

if (getLevel() == 0) {
// use the default, which is WARN unless the DEBUG env. variable is set
setLevel(System.getenv("DEBUG") == null ? WARN : DEBUG);
setLevel(System.getenv("DEBUG") == null ? INFO : DEBUG);
}

// populate custom class- and package-specific log level properties
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void initialize() {
log.debug("Configuring platform: " + platform.getClass().getName());
platform.configure(this);
}
if (platforms.size() == 0) log.info("No platforms to configure.");
if (platforms.size() == 0) log.debug("No platforms to configure.");
}

// -- Disposable methods --
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private synchronized void initInstances() {
map.put(ptClass, plugin);
}

log.info("Found " + list.size() + " " + getPluginType().getSimpleName() +
log.debug("Found " + list.size() + " " + getPluginType().getSimpleName() +
" plugins.");

instanceMap = map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public <D extends DT> PT create(final D data) {
@Override
public void initialize() {
if (log != null) {
log.info("Found " + getPlugins().size() + " " +
log.debug("Found " + getPlugins().size() + " " +
getPluginType().getSimpleName() + " plugins.");
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/scijava/plugin/DefaultPluginService.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public <PT extends SciJavaPlugin> List<PT> createInstances(
public void initialize() {
pluginIndex = context().getPluginIndex();

log.info("Found " + pluginIndex.size() + " plugins.");
log.debug("Found " + pluginIndex.size() + " plugins.");
if (log.isDebug()) {
for (final PluginInfo<?> info : pluginIndex) {
log.debug("- " + info);
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/scijava/script/ScriptFinder.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public void findScripts(final List<ScriptInfo> scripts) {
final HashSet<File> scriptFiles = new HashSet<File>();
for (final File directory : directories) {
if (!directory.exists()) {
log.warn("Ignoring non-existent scripts directory: " +
log.debug("Ignoring non-existent scripts directory: " +
directory.getAbsolutePath());
continue;
}
Expand All @@ -94,7 +94,7 @@ public void findScripts(final List<ScriptInfo> scripts) {
discoverScripts(scripts, scriptFiles, directory, menuPath);
}

log.info("Found " + scriptCount + " scripts");
log.debug("Found " + scriptCount + " scripts");
}

// -- Helper methods --
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/scijava/ui/DefaultUIService.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public void showUI(final String name) {

@Override
public void showUI(final UserInterface ui) {
log.info("Launching user interface: " + ui.getClass().getName());
log.debug("Launching user interface: " + ui.getClass().getName());
ui.show();
// NB: Also show all the current displays.
for (final Display<?> display : displayService.getDisplays()) {
Expand Down Expand Up @@ -499,7 +499,7 @@ private synchronized void discoverUIs() {
// instantiate user interface
final UserInterface ui = pluginService.createInstance(info);
if (ui == null) continue;
log.info("Discovered user interface: " + ui.getClass().getName());
log.debug("Discovered user interface: " + ui.getClass().getName());
addUserInterface(info.getName(), ui);
}

Expand Down