java - Where do Jersey json serialization errors get logged? -



java - Where do Jersey json serialization errors get logged? -

this dead simple bailiwick of jersey request fails server error 500. i'm pretty sure on serialization. had object doing same thing , stepped through in debugger , discovered fellow member wasn't serializable.

anyway, question - bailiwick of jersey logs root cause of these problems? they're not going tomcat logs. when in debugger, getting logged something, quite figure out going.

@path("myresource") public class myresource { @get @produces(mediatype.application_json) public map<string, string> getprops() { properties props = system.getproperties(); map<string, string> results = new hashmap<>(); (object o : props.keyset()) { string key = (string) o; results.put(key, props.getproperty(key)); } homecoming results; }

jersey uses jdk logging api. here tutorial setting up: http://yatel.kramolis.cz/2013/11/how-to-configure-jdk-logging-for-jersey.html

java json jersey

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -