The Official Kountr Blog

Just another WordPress.com weblog

Archive for April 2009

Django and Logging

leave a comment »

Thought I would capture what I learned and decided this morning regarding logging and Django.

There is some great stuff happening over at django-logging they have wrapped the standard python logging in a middleware package for django so that you can actually embed logging info in your pages. This is really great stuff, but more than I need at the moment.

You can find the world’s shortest introduction to standard python logging here. But it isn’t applied to django, and that left me with one question.

Where is django do I define my logger, so that logging can occur throughout my app. I found the answer here. You can define your logger in the settings.py, which in hindsight makes complete sense.

I am going to use the standard logging for now as I just want to use it to debug an issue. I will think about my longer term plans with respect to logging as I introduce an API.

Written by Michael Artemiw

April 12, 2009 at 6:44 pm

Posted in Uncategorized

Evening at Starbucks

leave a comment »

I am just wrapping up now and wanted to record some of the progress I made today at Starbucks.

I have started serving my svn repository. Moved all my projects into the svn. Worked on my aws_migration project to get it to the same point I was at with my hack from the weekend. The main page is up and running.

The next step is to remove all the other dependencies on http://www.kountr.com references. We are on a staging domain but I want to make this independent from url as easily as possible.

Good progress for a couple hours.

Thank you Ace.

Written by Michael Artemiw

April 8, 2009 at 3:28 am

Posted in Uncategorized