I have same problem.I used your sloution but I got below errors and no log 
in graylog server

> log4j:WARN No appenders could be found for logger 
>> (com.mycompany.mavenproject1.MainApp).
>
> log4j:WARN Please initialize the log4j system properly.
>
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for 
>> more info.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/e47e4d1c-f94a-404d-998d-dbb66864c4ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to