All Packages  This Package  Class Hierarchy  Class Search  Index

Class Campfire
java.lang.Object
   |
   +----java.lang.Thread
           |
           +----Campfire

  Summary

public class  Campfire
     extends java.lang.Thread
{
          // Constructors 2
     public Campfire();
     public Campfire(CampfireMonitor);

          // Methods 3
     public static void main(String[]);

     public void interrupt();
     public void process(String);
}

Campfire was created to solve a data corruption problem. The problem occurs when the Extended Logging Fix for IIS 3.0 is installed, while IIS 4.0 is running and using the W3C Extended Logging. The Extended Logging Fix took the generic IIS log format and appended UserAgent, Referrer, etc. data to the URI. The installation application for IIS 4.0 does not check to see if this fix is in place. As a result, when using W3C Extended Logging, information such as UserAgent, Referrer, etc. is duplicated in the log -- as part of the log format and appended to the URI. This causes logging applications to generate extremely weird results when processing these "corrupted" logs.

Campfire will traverse through log files and parse out the extra data added by the Extended Logging Fix converting the logs to proper W3C Extended Logging format.

Future Plans:

Version History:

Author:
Babatundé Turner




  Constructors

· Campfire

Summary  |  Top

   public Campfire() 

Creates a new Campfire.



· Campfire

Summary  |  Top
   public Campfire(CampfireMonitor mon) 

Creates a new Campfire, which is monitored by mon.

Parameter Description
mon the object that will monitor this Campfire



  Methods

· main

Summary  |  Top
   public static void main(String[] args) 

This "test" method is defined so that you may run this class as a stand-alone application.



· process

Summary  |  Top
   public void process(String filePath) 

Processes and fixes file that contains IIS 3.0 and 4.0 log data

Parameter Description
filePath the complete path to the file to be fixed.



· interrupt

Summary  |  Top
   public void interrupt() 
Overrides:
interrupt in class Thread


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7