Love is a funny thing. We fall hardest for those who hurt us the most, and we often can’t get over them until they stop hurting us. When someone you love hurts you, it can be difficult to get over…
I find this much preferable to the JUL logger, which requires string concatenation to accommodate the same thing:
To set Log4j2 dependencies in your pom.xml, include the following:
and refer to your logger exactly as you would with any other factory, by importing the vertx logger:
What’s important to note is that the vert.x launcher initializes the logger factory before your verticle starts. In other words, you can’t programmatically set a system property in your verticle implementation. Also note that you cannot set the system property in your pom.xml when using the fabric8 Maven plugin:
$ mvn package vertx:run
will not work. Not sure if this is a bug or expected behaviour but I am hoping to spare some cycles some time to look into it.
We have one more month of summer. One more month to capture that summer feeling — feeling relaxed and laid back. One more month to get an ice cream cone and eat it outside. One more month to put a…
Last week I spoke about writing in a gratitude journal and the benefits this can offer. Writing is so powerful. Sharing your words with others can have an even bigger impact than journaling…
Aqui dentro do agora, a verdade é o que importa não há nenhum outro caminho pra seguir.. “Presente Devaneio” is published by Karla Rosa.