Hi - I realize the original question has probably been answered. I just wanted to add another method.
(aside from the obvious call logging packages, which are either ridiculously expensive, or don't really do enough.)
I'm actually using PuTTY to keep an open session to the SMDR port all the time, and I've enabled logging to a text file so there's a continuously running log immediately available for searching or archiving.
Obviously this requires an always-on PC or server - but it is free, and given the right SMDR fields, can be quite useful for checking historical events.
I believe this can also be done for software/maintenance logs as well, given the correct telnet port.
-dg