FreeOpenSoftware

A real Python logging example

For some reason, all the examples of the configuration files for the Python logging framework are artificial ones, with names like handler01,handler02 and so on. This makes it a little difficult to figure out how to apply it to a real world example. So after a bit of fiddling around, here is a real example of using the Python logging module in a non-trivial application (ie. with multiple hierarchical modules) with an associated configuration file.

The Python logging framework is extremely useful and powerful, but the documentation is somewhat lacking. It is dead easy to use in its simplest form:

Not a complete waste of time...

I just did a quick Google search to see who is using my little libfg library these days, and I found a neat project. It's always nice to see cool ways your code is being used that you never thought of...

It's called "A Waste of Time" but it is actually a rather cool hack that involves a PlayStation and libfg. If you are at all interested, read all about it...

Moglen at Harvard

I just finished reading the transcript of the speech by Prof Eben Moglen at the Harvard Journal of Law & Technology.

Moglen is a brilliant speaker; lucid, engaging, thought-provoking and humourous. It is one of the best talks I have read in a long time, and beautifully explains some very important points about freedom and software. He discusses the SCO case and several other interesting legal topics.

Arch archive published

I have started using the amazing Arch revision control system for many of my projects. It is very cool. And I have published one of my archives, which I will be slowly populating. Details are as follows...

Bound for Adelaide

It took several minutes for the alarm clock to bore its way into my consciousness. After about 5 hours of sleep, I really wasn't ready to wake up. But it was 7am and I had a plane to catch. My destination: Adelaide, for the linux.conf.au 2004.

OpenOffice.org 1.1 Rocks!

I just installed release candidate 1.1 of OpenOffice.org. All I can say is - wow.

In the future, software will be:





XML feed