BrandonLive

Desktop Search FAQ   |   Start++   |   Contact Me

Want to index your Trillian IM logs?

July 15, 2005 at 4:26 pm
Desktop Search, Imported from old blog

Jeff Schoolcraft wrote in his blog about a problem he had getting WDS to index his Trillian log files, which are text files with a “.log“ extension - an extension we ignore by default.  Removing that extension from the ignore list will get the files indexed (assuming you choose to index the appropriate folder), but it then displays some bizarre behavior when returning results.

As a fellow Trillian user I sympathized with Jeff’s problem, although I hadn’t yet tried to index those logs.  Upon discovering this problem, I decided to look into a way to make it work in our current release.

My first thought was… why doesn’t Trillian use XML like Messenger does?  Well actually, it turns out that Trillian 3.x also writes an “XML” file for each log in addition to the .log - but unfortunately, it isn’t valid XML and it doesn’t include an XSLT. Otherwise, we could display it just like we do MSN Messenger logs.

Ideally, it would be great if Trillian could fix that, and then we’d have results comparable to Messenger.  It’s probably even something that can be done with a Trillian plug-in.  But in the meantime, I found another solution for the *.log problem:

This temporary workaround requires that you edit the registry.
DO NOT ATTEMPT TO EDIT THE REGISTRY IF YOU DON’T KNOW WHAT YOU’RE DOING.

1) Open regedit as an Administrator.
2) Navigate to the HKEY_CLASSES_ROOT\.log key
3) Right-click on the key and select “New String Value”
4) Name the string “Content Type” and set it to “text/plain”

Now .log files will work just like .txt files, allowing you to search your Trillian logs.






Comments are closed.


[powered by WordPress.]

Hi. I'm Brandon. I work on the Explorer for Windows 7 at Microsoft. This is my blog.

RSS Button

Picture

Brandon Paddock

categories:

archives:

July 2005
M T W T F S S
« Jun   Aug »
 123
45678910
11121314151617
18192021222324
25262728293031

search this site:

The views expressed within my blog are my own - and are not in any way indicative of those of the company I work for, Microsoft, or it's employees. No warranties or other guarantees will be offered as to the quality of the opinions or anything else offered here.

Xbox Live GamerCard