Reputation: 6665
I am building a Java Google App using Google App Engine and I followed these instructions on how to use Logging.
Basically, what I'm trying to do is very simple. I am issuing a POST request to a servlet in the App Engine, and I just want to print out via the Logs to see if I'm getting the data correctly. There are no statements in the Logs at all, aside from the automatically generated one saying that a POST was received, but my debug statement is not there.
Am I missing something simple outside of these directions? I'm baffled why this isn't working.
Upvotes: 0
Views: 1359
Reputation: 4498
Make sure you have the minimum log level set in the logging.properties file.
Upvotes: 1
Reputation: 650
Most probably you use debug level during logging, but your logging.properties file has INFO level. Change it to DEBUG:
# Set the default logging level for all loggers to WARNING
.level = DEBUG
Upvotes: 3