Hi Chris, By definition, static files are separated from program files, and there is no way to directly log events. What you have proposed is one of the only things that would work, but would obviously increase the number of requests to serve a static resource. The only other thing that might work, depending on the resource, would be to write some kind of Javascript function that made a call to your application when the resource was loaded.
-Marzia On Thu, Nov 20, 2008 at 6:31 AM, Chris <[EMAIL PROTECTED]> wrote: > > Hey everyone, > I've been using the built-in logging module to log all sorts of > scripting events for debugging/tracking purposes. It would be great if > I could use this logging functionality to make a note of whenever a > user requests a particular static file (e.g. tracking file downloads). > My first idea was to create a small script that logs the request, and > then redirects the user to the file, but can anyone else think of a > better/easier way to do it? > Thanks in advance! > > Chris > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---