loggingcdiseamjava-ee-7deltaspike

Replacement for Seam 2 logger (or Seam3 Solder logger)


I am moving on from Seam 2 to Java EE7 with CDI and some Apache Deltaspike extensions (using WildFly).

One thing that I am missing is a good logger that can format the message (e.g. like the String.format or MessageFormat).

I have seen that Seam 3 Solder logger was supposed to replace the Seam 2 logger however the development on Seam 3 Solder has been stopped and it was supposed to be taken over by Apache Deltaspike.

I've looked around but I couldn't find any logging API in Deltaspike.

Can someone point me in the right direction or suggest some good logger replacements which allow for message formatting?


Solution

  • Seems the JBoss Logger (org.jboss.logging.Logger) offers both String.format and MessageFormat formatting.

    I thought I was using that logger but Eclipse imported javax.util.logging.Logger instead which seems rather limited.