Contents of My Nook on the Web
Home Page

JavaScript Documentation PDFs
(OBSOLETE


JavaScripter
  Help
  Change Log

Analog LOGFORMAT for MyDomain Sites

Replacement Tips For Radio Shack 64-2184 Soldering Station

How to to allow tabs to be used a <textarea>

Site Change Log

Email Me

About Me

The following are links to other sites. They will open in a new window or tab:

My Wife's Business Named Sew-lutions

Sugarcat Simon's Niche on the Web about Feline Diabetes

Online Etymological Dictionary

Web site tracking a "person" through thirty three companiess in 8 states

Bob Novell's Nook on the World Wide Web
LOGFORMAT to use with Analog Log Analyzer
 For Log Files created for sites hosted
 on Apache Servers at MyDomain.com
Page Last Updated: August 2, 2011
Corrected !DOCTYPE statement
See Site History for more information

This site (and our others, SugarCatSimon.com, SharonNovell.com, JonPsalmonds.net) are hosted at MyDomain.

I was looking around for programs to analysis the access logs for these web sites I found the free program named Analog.  After a lot of wasted time I finally figured out how to get it to run on the logs for my sites.

The problem was correctly describing the format of the log files to the program. Analog uses a "command" in the configuration file (.cfg) to describe the format of the log file. That command is LOGFORMAT.

While it says to try running the program without using a LOGFORMAT command - that most people don't need to specify one - that was not the case with my  log files.

I'm not going to try and document Analog or explain how you figure out the correct LOGFORMAT command for your logs. I'm just going to show you a line from one of my logs and the LOGFORMAT I finally got to work.

Here is a line from one of my access logs:

178.210.212.2 - - [22/Jun/2011:17:44:38 -0700] "GET /original/guestbook.html HTTP/1.0" 200 217783 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)" www.sugarcatsimon.com

Here is the LOGFORMAT command that worked for me:

LOGFORMAT (%s - - [%d/%M/%Y:%h:%n:%t -%j] "%r" %c %b "%j" "%S" %v)

Look in the documentation for Analog for an explanation of the coding, in the section about the configuration file.

As I said, my intent is not to teach you how to use Analog - you are on your own, the documentation is sometimes useful and sometimes a bit convoluted and often uses terms with which you may or may not be familiar.

If you use MyDomain.com to host your site on an Apache server, the LOGFORMAT above should do the job for you.

Please, don't email me unless it is to simply pass on a LOGFORMAT that works for some other format of log and I"ll try to put your LOGFORMAT command here to help others.

Valid HTML 4.01 Transitional

Valid CSS!