Title: How to see debug logs for JRE and/or GAE classes
Tags: java;google-app-engine;logging
Question: Is it possible to change logging level for JRE and/or GAE classes?
I tryed putting this into logging.properties file:
sun.net.www.protocol.http.HttpURLConnection.level = ALL
com.google.appengine.api.urlfetch.level = ALL
I tryed to change level from code:
Logger.getLogger("sun.net.www.protocol.http.HttpURLConnection").setLevel(Level.ALL);
Logger.getLogger("com.google.appengine.api.urlfetch").setLevel(Level.ALL);
But so far i only see logs of my own app in the GAE console. I have no idea how to debug a problem that only happens in GAE but not in my local sandbox...(


Here is another answer: Differences between local and production environments usually can be easily found without logging from Google classes. For example for URLFetch it is 10 sec timeout. May be it will be better to describe the problem you are trying to debug.

{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 0, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2012:00:10/05/12', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<java><google-app-engine><logging>', 'Title': 'How to see debug logs for JRE and/or GAE classes', 'ViewCount': 426, 'id': 12752749, 'user_AboutMe': '', 'user_AccountId': 1344448.0, 'user_DisplayName': 'andropol', 'user_Reputation': 11.0, 'user_Views': 203.0, 'user_id': 1285454.0}}