boltup_im_coding
boltup_im_coding

Reputation: 6665

Logs in Google App Engine Not Working

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

Answers (2)

ConditionRacer
ConditionRacer

Reputation: 4498

Make sure you have the minimum log level set in the logging.properties file.

AppEngine Logging

Upvotes: 1

Kirill Lebedev
Kirill Lebedev

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

Related Questions