Permalink
Browse files

Removed modules logging

  • Loading branch information...
1 parent 44d64c0 commit ea2a92f493820b2a657256e4b24bfb5f9a3c52b8 @FroMage FroMage committed Mar 7, 2013
Showing with 6 additions and 7 deletions.
  1. +6 −7 impl/src/main/java/ceylon/modules/jboss/runtime/AbstractJBossRuntime.java
@@ -17,23 +17,23 @@
package ceylon.modules.jboss.runtime;
+import org.jboss.modules.Module;
+import org.jboss.modules.ModuleIdentifier;
+import org.jboss.modules.ModuleLoader;
+import org.jboss.modules.ModuleNotFoundException;
+
import ceylon.modules.CeylonRuntimeException;
import ceylon.modules.Configuration;
import ceylon.modules.Main;
import ceylon.modules.api.runtime.AbstractRuntime;
+
import com.redhat.ceylon.cmr.api.Logger;
import com.redhat.ceylon.cmr.api.RepositoryManager;
import com.redhat.ceylon.cmr.api.RepositoryManagerBuilder;
import com.redhat.ceylon.cmr.ceylon.CeylonUtils;
import com.redhat.ceylon.cmr.impl.JULLogger;
import com.redhat.ceylon.cmr.spi.ContentTransformer;
import com.redhat.ceylon.cmr.spi.MergeStrategy;
-import org.jboss.modules.Module;
-import org.jboss.modules.ModuleIdentifier;
-import org.jboss.modules.ModuleLoader;
-import org.jboss.modules.ModuleNotFoundException;
-import org.jboss.modules.log.ModuleLogger;
-import org.jboss.modules.log.StreamModuleLogger;
/**
* Abstract Ceylon JBoss Modules runtime.
@@ -45,7 +45,6 @@
public ClassLoader createClassLoader(String name, String version, Configuration conf) throws Exception {
ModuleIdentifier moduleIdentifier;
try {
- Module.setModuleLogger(new StreamModuleLogger(System.out));
moduleIdentifier = ModuleIdentifier.fromString(name + ":" + version);
} catch (IllegalArgumentException x) {
CeylonRuntimeException cre = new CeylonRuntimeException("Invalid module name or version: contains invalid characters");

0 comments on commit ea2a92f

Please sign in to comment.