t0xa / gelfj

Graylog Extended Log Format (GELF) implementation in Java and log4j appender without any dependencies.
https://github.com/t0xa/gelfj/wiki
Other
187 stars 115 forks source link

problem with send log from log4j2 to graylog2 via gelfj #106

Open aminkhodamoradi opened 8 years ago

aminkhodamoradi commented 8 years ago

## used dependency and config log4j.xml with

`

<loggers>
    <root level="INFO">
        <appender-ref ref="GrayLog2"/>
        <appender-ref ref="gelfAppender"/>
        <AppenderRef ref="Console" />
    </root>
</loggers>

` ## now when I run maven project I see this errors and I can't log into graylog2 server.

2016-06-23 05:21:55,658 ERROR Error processing element appender: CLASS_NOT_FOUND 2016-06-23 05:21:56,410 ERROR Unable to locate appender GrayLog2 for logger 2016-06-23 05:21:56,411 ERROR Unable to locate appender gelfAppender for logger