[JBoss JIRA] (FORGE-2318) Being able to setup a logger
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2318:
----------------------------------------
Summary: Being able to setup a logger
Key: FORGE-2318
URL: https://issues.jboss.org/browse/FORGE-2318
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.16.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
It would be good to have a few commands to setup a logger and inject it into bean. And because logs are a pain (too many frameworks) it would help to have a {{logger-setup}} command. It will create the needed dependency (in the {{pom.xml}}) and add some basic configuration (eg. {{logback.xml}}).
A basic logger would use JUL :
{code}
logger-setup
{code}
Or we could chosse a provider
{code}
logger-setup --provider LOG4J
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)