google-app-engine


Need to access GAE logs programmatically


we have a GWT application hosted in GAE. We use gwt-log (http://
code.google.com/p/gwt-log/) to log our client side and server side
exceptions. What we need to do is to run a cron job every day at the
midnight to create a report on all the exceptions (ex. listing source,
exception time, count, etc). In order to do this, we need to access
GAE logs promrammatically through API call or something from our
server side code. Is this possible?
Is the log data accessible?
If this is not possible, what is a best way to summarize errors in the
logs?
Thank you so much.
The ereporter module Calvin links to shows how to do this in Python. What it does isn't reading logs programmatically: instead, it registers a custom log handler which captures all exception logs and stores them in the datastore. Then, a cron job rolls up exceptions that occurred in that interval and emails them to an administrator.
You should be able to apply the same technique in java with the logging infrastructure, without having to be able to programmatically read the logs.
Have a look to the LogService API.
It offers methods to examine an application's request logs and application logs.

Related Links

Google Cloud DataStore. How to serve data?
How to access a cloud storage bucket from app engine without getting the 403 FORBIDDEN error?
Google App Engine Custom Domain - Routing in Go
Best approach for caching lists of objects in memcache
com.google.gcloud.datastore vs com.google.appengine.api.datastore
Google App Engine - Issue with creating a bulkloading config
Solr Timeout error even data is instered
Why does BigQuery fail to parse an Avro file that is accepted by avro-tools?
Insufficient Permission with Appengine Flex service account to access Drive folder
Getting Invalid Key message thrown when creating child records
Where do I find the pricing for the different frontend instance types?
Missing index on specific entities in app engine
Get current deployed timestamp in AppEngine/Go
Jersey throwing exception in Google App Engine
Uploading >10k files as static content to GAE
Dealing with large zip uploads and extracting using google cloud

Categories

HOME
windows
embedded
turing-machines
jpa
awk
redux-form
jmx
sitecore
knitr
database-normalization
simulink
mapbox
title
spin
minecraft-forge
fhir
libusb
mathprog
jersey-1.0
smartclient
pyramid
sigma.js
asp.net-core-webapi
xunit
google-api-client
syntax-highlighting
motion-detection
shared
corpus
ntp
calculation
angularjs-material
sammy.js
installshield-le
pdw-file-browser
bc
railstutorial.org
mcustomscrollbar
ogc
laravel-elixir
softmax
memory-mapping
facebook-social-plugins
cnc
tf
compiler-design
skin
cubism.js
custom-lists
ziparchive
adafruit
jquery-jscrollpane
i386
phpwebsocket
grass
realsense
terracotta
themoviedb-api
r-package
computer-architecture
.bash-profile
sha512
cwrsync
ansi
rrule
viewer
structuremap3
rmysql
xml-namespaces
cuba
artemis
mongohq
flex++
pagedown
server-administration
os.system
apache-whirr
apache-commons-dbutils
box2d-iphone
qglwidget
ie-compatibility-mode
non-clustered-index
mathematical-notation
mathematical-typesetting

Resources

Encrypt Message