You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Need some help, please. I try make a blank project with only log4j usage with graylog2 appender. But in graylog2 i don't see messages and wireshark don't see a requests on TCP 12201.
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
public class Main {
private static final Logger logger = LogManager.getLogger(Main.class.getName());
public static void main(final String[] args) {
logger.info("test");
}
}
Where is i`m wrong?
Appender is loading in build process because if i specify wrong graylogHost i see error. But there is no error message if i specify wrong port.
And (how i wrote upper) Wireshark not see a connect to localhost 12201. If i use netcat for send GELF message to 12201 - wireshark see it.
The text was updated successfully, but these errors were encountered:
Hello. Need some help, please. I try make a blank project with only log4j usage with graylog2 appender. But in graylog2 i don't see messages and wireshark don't see a requests on TCP 12201.
pom.xml:
log4j.properties:
Main.java:
Where is i`m wrong?
Appender is loading in build process because if i specify wrong graylogHost i see error. But there is no error message if i specify wrong port.
And (how i wrote upper) Wireshark not see a connect to localhost 12201. If i use netcat for send GELF message to 12201 - wireshark see it.
The text was updated successfully, but these errors were encountered: