Daniel Pocock: LogAnalyzer and rsyslog MongoDB support now in wheezy-backports and Ubuntu
LogAnalyzer is a powerful but simple log file analysis tool. The upstream web site gives an online demo.
It is developed in PHP, runs in Apache and has no other dependencies such as databases - it can read directly from the log files.
For efficiency, however, it is now trivial to make it work with MongoDB on Debian.
Using a database (including MongoDB and SQL backends) also means that severity codes (debug/info/notice/warn/error/...) are retained. These are not available from many log files. The UI can only colour-code and filter the messages by severity if it has a database backend.
Package status
The packages just entered Debian recently. It has now been migrated to wheezy-backports and Ubuntu so anybody on wheezy or Ubuntu can use it.
Quick start with MongoDB
The version of rsyslog in Debian wheezy does not support MongoDB output. It is necessary to grab 7.4.8 from backports.
Some versions, up to 7.4.4 in backports, had bugs with MongoDB support - if you tried those, please try again now.
The backported rsyslog is a drop-in replacement for the standard rsyslog package and for users with a default configuration it is unlikely you will notice any difference. For users who customized the configuration, as always, make a backup before trying the new version.
- Install all the necessary packages: apt-get install rsyslog-mongodb php5-mongo mongodb-server
- Add the following to /etc/rsyslog.conf:
module (load="ommongodb")
*.* action(type="ommongodb" server="127.0.0.1" db="logs" collection="syslog") - Look for the MongoDB settings in /etc/loganalyzer/config.php and uncomment them. Comment out the stuff for disk log access.
- Restart rsyslog and then browse your logs at http://localhost/loganalyzer
We are organizing a DrupalCamp in Mexico City!
As a Drupal user, I have so far attended two DrupalCamps (one in Guadalajara, Mexico, and one in Guatemala, Guatemala). They are as Free Software conferences usually are great, informal settings where many like-minded users and developers meet and exchange all kinds of contacts, information, and have a good time.
Torre de Ingenier a
This year, I am a (minor) part of the organizing team. DrupalCamp will be held in
Back in 2007 I stumbled over the "Plus Fours Routefinder", an invention of the
1920's. It's worn on the wrist and allows the user to scroll through a map of
the route they planned to take, rolled up on little wooden rollers.
I'm an amateur photographer, although these days I tend to drop the amateur prefix, given that I shoot people for cash at least once a month.
(It isn't my main job, and I'd never actually want it to be, because I'm certain I'd become unhappy hustling for jobs and doing the promotion thing.)
Anyway over the years I've built up a large library of images, mostly organized in a hierarchy of directories beneath ~/Images.
Unlike most photographers I don't use aperture, lighttable, or any similar library management. I shoot my images in RAW, convert to JPG via rawtherapee, and keep both versions of the images.
In short I don't want to mix the "library management" functions with the "RAW conversion" because I do regard them as two separate steps. That said I'm reaching a point where I do want to start tagging images, and finding them more quickly.
In the past I wrote a couple of simple tools to inject tags into the EXIF data of images, and then indexed them. But that didn't work so well in practise. I'm starting to think instead I should index images into sqlite:
A good friend just yesterday sent me a link to a one and a half hour lasting live concert of
For a while now I've been looking for ways to improve my photo workflow - to simplify and speed up the process. Now I've gotten a new toy to help that along - a Panasonic FlashAir SD card with WiFi connectivity. I was pretty sure that build-in workflows of some more automated solutions would not be a perfect fit for me, so I got this card which has a more manual workflow and a reasonable API, so I could write my own.
Now I am trying to work out my requirements, the user stories if you will.
I see two distinct workflows: live event and travel pictures.
In both cases I want the images to retain the file names, Exif information and timing of the original photos and also have embedded GPS information from the phone synced to the time the photo was taken. And if I take a burst of very similar photos, I want the uploading process to only select and upload the "best" one (trivial heiristic being the file size) with an ability for me to later choose another one to replace it. There would need to be some way of syncing phone and camera time, especially considering that phones usually switch to local time zone when traveling and cameras do not, maybe the original time the photo was taken would need to be changed to local time zone, so that there are no photos that are taken during the day, but have a timestamp of 23:45 GMT.
When I am in Live Event mode I would like the photos that I take to immediately start uploading to an event album that I create (or choose) at the start of the shoot with a preset privacy mode. This assumes that either I am willing to upload via 3G of my phone or that I have access to a stable WiFi network on-site. It might be good if I could upload a scaled down version of the pictures during the event and then later replace the image files with full-size images when the even is over and I am at home in my high-speed network. I probably don't need the full size files on my phone.
When I am in Travel mode, I want to delay photo uploading until I am back at the hotel with its high speed Wifi, but also have an option to share some snapshots immediately over 3G or random cafe Wifi. I am likely to take more photos that there is memory in my phone, so I would like to clear original files from the phone while keeping them in the SD card and in the cloud, but still keeping enough metadata to allow re-uploading an image or choosing another image in a burst.
Now I need to flesh out the technical requirements from the above and write an Android app to implement that. Or maybe start by writing this in Python as a cross-platform command-line/desktop app and only later porting it to Android when all the rought parts are ironed out. This will have an extra benefit of people being able to run the same workflow on a laptop instead of a phone or tablet.
Let's assume that this is written in a pretty flexible way, allowing to plug in backends for different WiFi SD cards, cloud services, plug-in points for things like instant display of the latest photo on the laptop screen in full-screen mode and other custom actions, what else would people love to see in something like this? What other workflow am I completely overlooking?
Zoe slept pretty well last night. She only woke up briefly at 4am because
Cowie had fallen out of bed and she couldn't find her.
Today was the last Playgroup of the term. Megan, her little sister and her Dad
came as well to check it out, which was nice, because Zoe then had someone to
actively play with in addition to me.
After Playgroup, we went to the adjacent Bulimba Memorial Park with Megan, and
then had some lunch at Grill'd. Megan's Dad wanted to do some work on their
house while Megan's little sister napped, so I offered to give Megan a play
date at our place.
The plan was to watch a movie and chill out. The girls picked
Ratatouille and I made a batch of popcorn for them. Unfortunately
Megan seemed to be less of a square eyes than Zoe, and she lost interest after
a bit, so we stopped watching the movie and moved out to the balcony to do some
craft.
Zoe had been wanting to make a crown for Mummy's boss for a while, so we made a
couple of crowns with the hot glue gun. I had bought this bag of mixed craft
"jewels" and it's probably the best single craft thing I've bought. Zoe
loves gluing them onto everything.
After that, Zoe pulled out the bag of coloured foil confetti. If the gems were
the best thing I've bought, this would have to be the worst. So far, all it's
done is leak in the drawer it's been stored in, and I've been avoiding using it
because it was going to be messy.
Today, Zoe wanted to glue it onto the outside of her cardboard box, so I
decided to give in and embrace the mess, and boy, did we make a mess.
It probably ended up being the longest bit of cooperative play the girls did.
They'd alternate between handing each other a fistful of confetti while I
applied globs of glue where directed. Probably about 10 percent of each handful
ended up stuck to the rocket, so the balcony looked like quite a mess by the
end of it all, but at least it was a dry mess, so I could just vacuum it all
up. I suspect I'll be encountering dregs for quite a while, because I doubt
it's stuck to the cardboard particularly well.
After that, the girls played indoors for a bit, and watched a bit more of the
movie, but Megan seemed to be scared of Anton Ego, so I think that was why
it wasn't holding her attention.
The other activity that the girls seemed to thoroughly enjoy was tearing around
the living room squealing while they took turns at throwing a grapefruit-sized
beach ball at me, and I threw it back at them.
Jason came back to pick up Megan, and I started dinner. Not that long after
Megan left, Sarah arrived to watch Zoe for me so I could go visit my cousin in
hospital. I had dinner on the table pretty much as soon as she walked in the
door, and headed out.


I have just released version 1.7.4 of
This post explains how to configure on a Linux server a second and totally independent network interface with its own connectivity. It can be useful to access the server when the regular connectivity is broken.
This can happen thanks to
I would like to publicly apologise for the inconvenience caused by my
recent updates to the mediawiki and mediawiki-extensions
source packages in Debian wheezy (stable-security).
As for reasons I m doing Mediawiki-related work at my dayjob, as part
of
Today, I've replaced server SSL certificates with new ones issues by
Earlier this year, on the fourth of February,
In accordance with its constitution, the Debian Project has just elected
Javier Merino Cacho as Debian Project Leader. More than 80% of voters put
him as their first choice (or equal first) on their ballot papers.
Javier's large majority over his opponents shows how his inspiring vision for
the future of the Debian project is largely shared by the other developers.