logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Goers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1537) Experience of a newbie to logging
Date Sat, 20 Aug 2016 20:17:20 GMT

    [ https://issues.apache.org/jira/browse/LOG4J2-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429501#comment-15429501
] 

Ralph Goers commented on LOG4J2-1537:
-------------------------------------

Please see http://logging.apache.org/log4j/2.x/runtime-dependencies.html. YAML support requires
Jackson as an additional dependency.

http://logging.apache.org/log4j/2.x/manual/configuration.html#AutomaticConfiguration should
be modified to mention that extra dependencies are required for JSON and YAML. Also, I don't
see any YAML configuration examples on the Configuration page.

> Experience of a newbie to logging
> ---------------------------------
>
>                 Key: LOG4J2-1537
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1537
>             Project: Log4j 2
>          Issue Type: Improvement
>         Environment: idea 2016, maven
>            Reporter: d
>            Priority: Minor
>              Labels: feedback
>
> Not sure if this is the right place for general feedback but here goes:
> I wanted to learn to use loggers, googling told me log4j2 was popular so I had a go with
it. I feel the documentation is extremely lacking / poorly organized for a first timer - I've
used java for a few years but never loggers. 
> One problem that completely stopped me getting anywhere - I cannot get log4j2 to access
the configuration file. I can access the classpath and properties file myself fine but log4j
refuses to find it. I'm using the latest intellij idea with maven. Here is some more info:
http://pastebin.com/7Nix7zME
> I think for now I will abandon trying to use log4j, it doesn't feel logger-newbie friendly
:(



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message