Discussion Locked

Which application to oprn ext. *.log.

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I was e-mailed some files and asked to discover which application to use to open and view them. The files end in the extension *.log (i.e. moon5.log). The files are probably associated with an application used in general business or the gas and oil industry. I opened it in wordpad (too large for notepad) and could see some of the data, but it was too scrambled to manage. Any ideas

9 replies

by syscokid

I think you've been given an impossible task. AFAIK, .log is a generic extension for just that, a log file.

It's not associated with any particular application by default. Many apps write log files in plain text format which you can read withNotepad or any text editor.

For a .log file to be associated with an application, the association would have to occur during the installation of the application. So it's a circular thing, you can't open it unless you know the application that created it, but you don't know the application that created it so you can't open it.

by syscokid

PS: Sometimes when you open a file like that in a text editor, you can make out just enough to give you a clue as to what you're looking at. Try using the DOS Edit program that comes w/most version of Windows (Run->Edit).

by mbarker734

There are generally two types of .log files.

Fixed Length and Delimited.

Fixed Length has field lengths of a set size that are just run up to each other.

Delimited will have a delimiting character usually a comma , or semicolon ;

Determine where the various fields break and how. After that just create a table to support the fields and it would be a simple process to import the log into a database for display.

by mustang064

Hi Marty,

One thing you might try that should make the process a little less painful is to open the .log file in Excel. This will start Excel's Text Import Wizard and allow you to choose between "fixed width" and "delimited". The preview pane will allow you to see the result of each selection and modify as necessary to get the file into a readable format. Once you have the file in a readable format, you can then manipulate the data as you would with any Excel file, and save it as an Excelspreadsheet.

Hope this helps.

This discussion is closed to new replies.