[appengine-java] Re: Consolidated logs via email

2011-04-01 Thread radomir
It may not be exactly what you're looking for but you way want to take
a look at our LogDigger tool and service (http://logdigger.com/)

With LogDigger you can capture logged application errors with
additional request details (URL, request params, etc.). For GAE apps
you can collect API and CPU time, etc. You can find GAE specific notes
here:
http://logdigger.com/logdigger-connector/java-logging-app-engine

By default it will capture only requests when an exception is logged
but there's a way (still undocumented) to force capture in other
scenarios too. (We're still looking into providing additional logging
options so any feedback and feature requests are appreciated.)

For the curious, My LogDigger service is running on GAE (HR).

Radomir



On Apr 1, 2:54 am, Jeff Schnitzer j...@infohazard.org wrote:
 On Thu, Mar 31, 2011 at 5:10 PM, Kyle Baley k...@baley.org wrote:
  We want to be somewhat proactive about warnings or higher in our logs so
  we're looking at a way of being notified if they occur. First thought was to
  use log4j and the email appender. This is fine but won't scale as more
  people use the app since we'll get inundated with emails. So we're looking
  at another option: parsing the logs and emailing every half hour if there
  are new warnings/errors/critical messages. Any suggestions on how to do
  this?
  Based on my research, it looks like we would need to set up a job to
  download the logs with appcfg.py at regular intervals and parse them outside
  of the app. Looking for other potential options.

 If you productize something like this, I would pay money for it.

 Jeff

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: SecurityException when using Apache HttpClient classes from Groovy

2011-03-27 Thread radomir
John,

I experienced exactly the same problem and was able to workaround. See
my post:
http://radomirml.com/2011/03/27/fixing-strange-noclassdeffounderror-on-app-engine

Hope this helps.

Radomir




On Mar 26, 3:57 pm, John supp...@weespr.com wrote:
 Actually based on the exception, it seems that the change happened on the
 servers any time during Friday.
 (my cron job kicks in once a day and first exception happened around
 midnight Friday night PST).

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Lightweight Best performing MVC framework - Recommendation

2011-01-06 Thread radomir
+1 for Stripes and Objectify

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: slf4j debug messages not in admin console

2010-12-28 Thread radomir
I use SLF4J bridged to java.util.logging and I receive debug messages
(using FINEST level in JUL config).



On Dec 25, 11:48 pm, Tomas Vojtech tomas.vojt...@gmail.com wrote:
 Hello,

 I use SLF4J for logging and if I use logger.debug or logger.trace no
 message is shown in logs in administration console. Higher levels work
 fine and are in the console.

 Is problem in my application or where is problem?

 blaf

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Can you add Handlers to the root logger?

2010-12-13 Thread radomir
Hi Andrew,

You can also monitor your logs in Firefox using our LogDigger library
and Firefox add-on.
http://logdigger.com/solutions/real-time-java-server-logs-in-your-web-browser

LogDigger currently supports Log4J only but we're releasing v2.0 in
the following days which is a complete rework supporting
java.util.logging, custom extensions and sending error reports to our
BugDigger service for further processing.
(We also plan a blog post addressing use on GAE as we use it
intensively in this environment.)

Regards,
Radomir




On Dec 13, 2:05 am, Andrew andrew.w.d...@gmail.com wrote:
 Hello,

 We're trying to add a handler to the root logger, which seems to work
 in dev, but, doesn't work in live. Our specific use case is that we
 are trying to add a Handler to facilitate sending log messages of a
 particular level to a remote log aggregation service.

 Has anyone had success in adding a handler to the root logger? If so,
 could you please detail your experience.

 We have tried things like:
 * Adding directly to the root logger through static initialization in
 Guice. This works in dev but gets a security exception
 (LoggingPermission) in live.
 * Various combinations of AOP.
 * Using logging.properties to explicitly define the logger. This was
 the most promising lead and actually seemed to be working, but,
 ultimately suffered the same problematic fate.

 We're currently exploring mitigation options like a logging facade
 (SLF4J or possibly just subclassing Logger), but, this has a host of
 obvious problems (no support for 3rd party libraries etc). Another
 option is to potentially try and use the admin logging console.

 If pertinent our app stack is GWT on Guice.

 Also, if we're lucky enough to have someone from the Google GAE team
 look at this it would be terrific to understand a little bit about the
 technical detail of logging for java in GAE. There is a reasonable
 amount of conflicting information around the web which has resulted in
 a lot of burnt time. An authoritative view would be very helpful and
 of obvious benefit when trying to design these types of solutions.

 Regards,

 - Andrew.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Declarative caching for GAE using Java annotations

2010-05-20 Thread radomir
Hi,

I made a small library that simplifies caching to Memcache using Java
annotations.
The implementation currently depends on Guice for AOP but it should be
easily portable to other frameworks.

More info at http://radomirml.com/2010/05/20/declarative-caching-for-appengine

Regards,
Radomir

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: ANN: Firefox add-on for tracking GAE estimated cost

2010-04-08 Thread radomir
Yes, as far as I'm aware, the header is available only with Google
Account authentication.

Even when your application uses custom authentication, I guess you
could try providing an extra (hidden) login page for you (developer)
that will authenticate your session and allow you to collect cost
headers.


On Apr 8, 11:54 am, Thomas mylee...@gmail.com wrote:
 Does the X-AppEngine-Estimated-CPM-US-Dollars header appears only if
 the application is using Google Account authentication scheme? I have
 login as the administrator (developer of the web app), but have never
 seen this response header.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] ANN: Firefox add-on for tracking GAE estimated cost

2010-04-07 Thread radomir
Hi,

I made a Firefox extension that collects estimated cost from App
Engine response headers and shows the total in the Firefox status bar.
If anyone's interested, the add-on can be downloaded from:
http://radomirml.com/2010/04/06/track-appengine-estimated-cost-with-firefox-add-on

Radomir

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.