I'm using Appstats as documented here:
http://code.google.com/appengine/docs/python/tools/appstats.html
It works fine, but every request now logs an info message like this:
Saved; key: appstats:039300, part: 65 bytes, full: 12926 bytes, overhead: 0.000 + 0.004; link: http://example.com/stats/details?time=1290733239309
Is there a way to disable the log messages, while leaving Appstats running?
Maybe I could just take my own copy of ext/appstats/recording.py and comment out the call to logging.info()? Or is there a better way?
Thanks.
You might want to take a look at the sample appstats config file. You could configure appstats to only run for a percentage of your requests; that should reduce the number of logging messages but you'll still have the information.
If you want to patch appstats, you should take a look at line 303 in /google/appengine/ext/appstats/recording.py
. If you're using webapp it should be very easy to simply monkey-patch appstats by replacing its save method with its _save method.
Also, submit a feature request and post a link to the groups. I think being able to disable the logging call is a valid request; they do tend to clutter the logs up a bit.