java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.impl.Log4jLogDelegateFactory -Dlog4j.debug=true -jar vertx3-fun-0.0.1.jar -conf project.json
log4j: Trying to find [log4j.xml] using context classloader sun.misc.Launcher$AppClassLoader@5c647e05.log4j: Trying to find [log4j.xml] using sun.misc.Launcher$AppClassLoader@5c647e05 class loader.log4j: Trying to find [log4j.xml] using ClassLoader.getSystemResource().
log4j: Could not find resource: [null].
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
thanks for the info
Sent from my Nexus 4
You received this message because you are subscribed to a topic in the Google Groups "vert.x" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vertx/Nz5ERcyaEoA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vertx+un...@googlegroups.com.
java -jar my-vertx-app.jar -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -Dlog4j.configuration=file:./log4j.xml -conf ./config.json Thanks for the quick reply. However, still does not pick up the external log4j.xml after changing to io.vertx.core.logging.Log4jLogDelegateFactory. Vertx does not provide an easy process of using an external log config. sad.
On Tuesday, August 11, 2015 at 9:50:39 PM UTC-7, Asher Tarnopolski wrote:yoi have to implement log4j factory and pass the path to it instead of SLF4JLogDelegateFactory.
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/0d45ecfe-dd86-48df-a7c7-ce8dadca442c%40googlegroups.com.
java -jar my-vertx-app.jar -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -Dlog4j.configuration=file:./log4j-prof.xml -conf ./config.json java -jar my-vertx-app.jar -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4jLogDelegateFactory -Dlog4j.configuration=file:./log4j-prof.xml -conf ./config.json java -jar my-vertx-app.jar -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4jLogDelegateFactory -Dlog4j.configuration=file:./log4j-prod.xml -conf ./config.jsonjava -jar my-vertx-app.jar -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -Dlog4j.configuration=file:./log4j-prod.xml -conf ./config.json--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/a1daab37-c4ac-4e6a-91fb-f542de2eee0f%40googlegroups.com.
java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4jLogDelegateFactory -Dlog4j.configuration=file:./log4j-prod.xml -jar my-vertx-app.jar -conf ./config.jsonjava -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.Log4jLogDelegateFactory -Dlog4j.configuration=file:./log4j-prod.xml -jar my-vertx-app.jar -conf ./config.jsonjava -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -Dlog4j.configuration=file:./log4j-prod.xml -jar my-vertx-app.jar -conf ./config.json
java -Dvertx.logger-delegate-factory-class-name=io.vertx.core.logging.SLF4JLogDelegateFactory -Dlogback.configurationFile=file:./logback-prod.xml -jar my-vertx-app.jar -conf ./config.json