Showing posts with label QuickLogger Plus. Show all posts
Showing posts with label QuickLogger Plus. Show all posts

Wednesday, September 13, 2006

QuickLogger Plus updates (finally!)

About 6 weeks ago, I posted a little utility online called QuickLogger Plus. I got a fair bit of feedback, pretty much all positive, and a fistful of feature requests. I started plotting and planning... and then nothing happened. I don't think I even replied to most of the comments or e-mail.

I'm happy to say that I've finally taken a little time to sit down with the code and do some more work with it. I've tightened up the configuration a bit, and managed to add a few new features:


  • Flexible formatting: the formatting of the log entry is now controlled by a single configuration variable called entryTemplate - for example: "[[ISO_DATE]]" & VbTab & "[[ISO_TIME]]" & VbTab & "[[ENTRY]]" will create a tab-separated entry with ISO-style date and time, while "[[LOCAL_DATE]] [[LOCAL_TIME]] [[ENTRY]]" will format the line like the original QuickLogger script. You could also do HTML, comma-separated value, probably even RTF or any other text-based format if you like.
  • New logging fields: with the entryTemplate system, there are a few new pieces of information that can be logged, including:

    • current logged in user with [[USER_NAME]] and [[USER_DOMAIN]]
    • elapsed time since the last entry [[DURATION_MINUTES]]

  • Easier extensibility: need to log something else that I haven't included support for? Just create a token (i.e. [[MY_OBSCURE_DATA]]) in entryTemplate, add it to the validTokens array (line 158), and add a switch to the select case statement starting on line 161.


Feature requests still on the back burner include:


  • support for parsing embedded "tags" in the entry similar to those used in todo.txt - I've had a couple requests for this, but I haven't quite figured out how I'd like to handle it
  • logging to Excel, ODBC, or other non-plaintext formats - I've had a couple requests for this as well, but I'm not planning on adding this in the near future. I guess I'm a believer in human-readable plaintext. With the new entryTemplate, however, it should be a lot easier to create a template that facilitates importing into other applications (comma-separated values, etc.)


Download here - quicklogger.vbs - and let me know if you run into any bugs, have any new feature requests, etc. Thanks again to everyone for the feedback on the first release, and hopefully I'll be better at replying and keeping everyone up-to-date!

Sunday, July 30, 2006

QuickLogger Plus

UPDATE 2007-09-26: Welcome again Lifehacker readers - it looks like a bunch of you have followed the breadcrumbs from the recent QuickLogger 2 article to the original QuickLogger article to get here. You may have noticed that QuickLogger Plus is a little stale to say the least - it's been well over a year since the last update. I feel like I owe you all an explanation for that, but I don't have the time to do that right now - I'll try to post something soon. Thanks for all your comments and suggestions, and if you haven't already, check out Joshua Tallent's QuickLogger 2.0 - it looks good!

UPDATED 2006-09-12: New features added (finally!) Read all about it here. If you still want a copy of the original, it's available as quickloggerplus.2006072801.vbs, but I highly recommend using the new version.

A few days ago, Lifehacker posted a neat little script called QuickLogger for keeping track of what you do during the workday. I downloaded, loved it, and immediately became dissatisfied with it. For starters, it didn't use the time format (ISO 8601) that I prefer, and it didn't automatically rotate the log file. So I made a few changes to make it work the way I liked it. Then, I started thinking of other things that I'd like it to do. One thing led to another, and the original 23-line script was now mutated into a 200 line monster (including comments and whitespace) that I dubbed QuickLogger Plus. The user interface remained the same, but under the hood there were a ton of configuration options.

I decided it was time to share my monster with the world, so on Friday (July 28 2006) I posted my changes to Lifehacker. So far, the response has been positive. According to my web server logs, it's been downloaded over 60 times since posting to Lifehacker - not bad considering that it didn't get posted until 48 hours after the original article.

I've got one feature request that I hope to implement in the next day or so - I could probably do it now, but since I can't really test it from my Linux system at home, I'll have to wait until I'm back in the office on Monday to test it under XP. If you've used it and have any comments, feature requests, bug reports, etc. please post a comment here, or drop me an e-mail (address in the script comments). I'll make this page the semi-permanent home of QLP - any updates, etc. will be posted here.