I am new to log4j and trying to use it to better understand why my resource provides a header 415 Media Type Not Supported.
I am using the following:
log4j.rootCategory=WARN, stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %t %c:%L - %m%n
log4j.category.com.sun.jersey=DEBUG,stdout
This one seems as if it should work, but I am not showing anything in the console about the POST reaching this application. I know that it reaches the application, because if I turn off the application, POSTer gives a "connection failure" when trying to POST.
source
share