Skip to content
This repository was archived by the owner on Jul 4, 2022. It is now read-only.

Commit d244f9c

Browse files
Merge pull request #12 from Simplix-Softworks/shading
Remove useless log
2 parents ba347b0 + 6e6c2c4 commit d244f9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

simplixcore-common/simplixcore-common-api/src/main/java/dev/simplix/core/common/inject/SimplixInstaller.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public Optional<DependencyLoadingException> register(
108108
}
109109
SimplixApplication application = owner.getAnnotation(SimplixApplication.class);
110110
if (this.toInstall.containsKey(application.name())) {
111-
log.warn(SIMPLIX_BOOTSTRAP + application.name() + " is already registered. Please check " +
111+
log.debug(SIMPLIX_BOOTSTRAP + application.name() + " is already registered. Please check " +
112112
"for unnecessary double registration of your application.");
113113
return Optional.empty();
114114
}
@@ -461,7 +461,7 @@ private Optional<DependencyLoadingException> processRemoteDependencies(
461461
if (dependency.platform() != null && dependency.platform() != this.platform) {
462462
continue;
463463
}
464-
log.info(SIMPLIX_BOOTSTRAP
464+
log.debug(SIMPLIX_BOOTSTRAP
465465
+ info.name()
466466
+ ": Load dependency "
467467
+ dependency

simplixcore-common/simplixcore-common-implementation/src/main/java/dev/simplix/core/common/libloader/SimpleLibraryLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private void checkAndLoadSimplixApplication(@NonNull File file, ClassLoader clas
105105
Class<?> mainClass = classLoader.loadClass(libraryDescription.mainClass());
106106
if (mainClass.isAnnotationPresent(SimplixApplication.class)) {
107107
SimplixInstaller.instance().register(mainClass);
108-
log.info("[Simplix | LibLoader] "
108+
log.debug("[Simplix | LibLoader] "
109109
+ libraryDescription.name()
110110
+ " was registered as a SimplixApplication");
111111
log.debug("[Simplix | LibLoader] Application class = "

0 commit comments

Comments
 (0)