[
https://issues.apache.org/jira/browse/LOG4J2-1537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15429501#comment-15429501
]
Ralph Goers edited comment on LOG4J2-1537 at 8/20/16 8:17 PM:
--------------------------------------------------------------
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.
Also, you really could try mailing the user's list to ask questions before
creating a Jira issue.
was (Author: [email protected]):
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: [email protected]
For additional commands, e-mail: [email protected]