impactrudia/objectify-appengine

log every RPC

Opened this issue · 1 comments

We are sometimes debugging issues like "why is this so slow?" or "why is this 
inconsistent data?". What would really help is logging.

I image to read something like this in my console:

15:15:54 DEBUG  Objectify - saving item to 'user'
...
15:16:54 DEBUG  Objectify - loading 6 items from 'user' by key [datastore]
15:17:00 DEBUG  Objectify - query for 'email=test@example.com' with 'limit=1' 
in 'user' returned 1 item [datastore]
15:17:05 DEBUG  Objectify - loading 6 items from 'user' by key [memcache]
...
18:17:12 DEBUG  Objectify - loading 6 items from 'user' by key [50% memcache, 
50% datastore]

This could show me all datastore actions. It could show me all query details. 
It could even show me where the results actually came from.

This would make my life better :)

Original issue reported on code.google.com by stephan....@gmail.com on 5 Feb 2014 at 2:29

Original comment by lhori...@gmail.com on 14 Apr 2014 at 2:27

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect