Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
vertx:log4j [2022/01/08 04:25]
172.68.10.241 old revision restored (2014/06/07 02:39)
vertx:log4j [2022/01/31 08:26]
85.25.210.81 old revision restored (2022/01/08 06:20)
Line 11: Line 11:
 === Running in maven === === Running in maven ===
  
-     mvn package vertx:runMod -Dorg.vertx.logger-delegate-factory-class-name=org.vertx.java.core.logging.impl.Log4jLogDelegateFactory -Dlog4j.ignoreTCL=true+     mvn package vertx:runMod -Dorg.vertx.logger-delegate-factory-class-name=org.vertx.java.core.logging.impl.Lo 
 +g4jLogDelegateFactory -Dlog4j.ignoreTCL=true
  
 should work around an problem in maven causes an error should work around an problem in maven causes an error
  
-    log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. +log4j:ERROR A "org.apache.log4j.ConsoleAppender" object is not assignable to a "org.apache.log4j.Appender" variable. 
-    log4j:ERROR The class "org.apache.log4j.Appender" was loaded by +log4j:ERROR The class "org.apache.log4j.Appender" was loaded by 
-    log4j:ERROR [ClassRealm[plugin>io.vertx:vertx-maven-plugin:2.0.5-final, parent: [email protected]]] whereas object of type +log4j:ERROR [ClassRealm[plugin>io.vertx:vertx-maven-plugin:2.0.5-final, parent: [email protected]]] whereas object of type 
-    log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [[email protected]a18817]. +log4j:ERROR "org.apache.log4j.ConsoleAppender" was loaded by [[email protected]a18817]. 
-    log4j:ERROR Could not instantiate appender named "stdout". +log4j:ERROR Could not instantiate appender named "stdout".
- +
-(this hint is from a stackoverflow article http://stackoverflow.com/questions/12404934/configure-org-apache-log4j-consoleappender-with-custom-classloader ) +