[EMAIL PROTECTED]                                                
                                      
                      .co.uk                         To:      [EMAIL PROTECTED]        
                                 
                      Sent by:                       cc:                               
                                           
                      [EMAIL PROTECTED]         Subject: [analog-help] Aalog 532 - Log 
Formats                               
                      s.isite.net                                                      
                                           
                                                                                       
                                           
                                                                                       
                                           
                      26/11/2003 16:34                                                 
                                           
                      Please respond to                                                
                                           
                      analog-help                                                      
                                           
                                                                                       
                                           
                                                                                       
                                           








Hi,

I am new user to analog and have installed Analog on my PC. The
installation  was successful and Analog works fine with the default
analog.cfg and logfile.log.

The problem I am having is when I configure my http Log formats

My Log Formats in my httpd.conf file is as follows :

# The location of the access logfile (Common Logfile Format).
# If this does not start with /, ServerRoot is prepended to it.
LogFormat "%h %l %u %t %p \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent

LogFormat "%{%Y/%m/%d}t %{%H:%M:%S}t %a %u %h %r %{URI}i %>s %b
%{Content-Length}i %T \"%{User-Agent}i\" \"%{Cookie}i\" \"%{Referer}i\""
wtrlogformat

# If you would like to have an agent and referer logfile uncomment the
# following directives.

#CustomLog /usr/HTTPServer/logs/referer_log referer
#CustomLog /usr/HTTPServer/logs/agent_log agent
CustomLog /logs/HTTPLogs/wtrfulllog wtrlogformat

My Log file looks like this

2003/11/25 00:00:06 127.0.0.1 - 127.0.0.1 GET
/wdeliver/servlet/JSPs/shop/check.jsp HTTP/1.1 - 200 1858 - 0 "Java1.3.1" "
-" "-"
2003/11/25 00:00:06 127.0.0.1 - 127.0.0.1 GET
/wdeliver/servlet/JSPs/shop/check.jsp HTTP/1.1 - 200 1858 - 0 "Java1.3.1" "
-" "-"
2003/11/25 00:00:06 127.0.0.1 - 127.0.0.1 GET
/wdeliver/servlet/JSPs/shop/check.jsp HTTP/1.1 - 200 1858 - 0 "Java1.3.1" "
-" "-"
2003/11/25 00:00:06 127.0.0.1 - 127.0.0.1 GET
/wdeliver/servlet/JSPs/shop/check.jsp HTTP/1.1 - 200 1858 - 0 "Java1.3.1" "
-" "-"
2003/11/25 00:00:08 192.168.215.33 - 192.168.215.33 GET
/wdeliver/servlet/JSPs/shop/display.jsp?cgrfnbr=21880&merchant_rn=2071&branch_rn=0&siteCode=WD&page_type=display&page_number=0&close_down=no&del_date=2411031

 HTTP/1.1 - 200 10295 - 1 "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.5b) Gecko/20030827" "WtrDlvrId=v1vuhch5; primg=1;
SESSION_ID=6435994,qVzNKXVcvLya754a+fQXUKzm5BIckXQvbVMFB3nXUylET1z+NjlMNg
==; WtrDlvrSessionId=v481qrcs; branch_rn=0; open_category=21806;
open_type=0; seasonal=0"
"
http://www.waitrosedeliver.com/wdeliver/servlet/JSPs/shop/go_shop_aisles_pg.jsp?name=Wines%20%26%20Soft%20Drinks&cgrfnbr=21661&merchant_rn=2071&branch_rn=0&siteCode=WD&del_date=2411031&newline=y
"
2003/11/25 00:00:08 192.168.215.33 - 192.168.215.33 GET
/wdeliver/servlet/JSPs/shop/flags_javascript_creator.jsp HTTP/1.1 - 200
7705 - 0 "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b)
Gecko/20030827" "WtrDlvrId=v1vuhch5; primg=1;
SESSION_ID=6435994,qVzNKXVcvLya754a+fQXUKzm5BIckXQvbVMFB3nXUylET1z+NjlMNg
==; WtrDlvrSessionId=v481qrcs; branch_rn=0; open_category=21806;
open_type=0; seasonal=0"
"
http://www.waitrosedeliver.com/wdeliver/servlet/JSPs/shop/display.jsp?cgrfnbr=21880&merchant_rn=2071&branch_rn=0&siteCode=WD&page_type=display&page_number=0&close_down=no&del_date=2411031
"
2003/11/25 00:00:08 192.168.215.33 - 192.168.215.33 GET
/images/products/2/LN_082211_BP_2.jpg?v=uu2sbka0 HTTP/1.1 - 200 1879 - 0
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827"
"WtrDlvrId=v1vuhch5; primg=1;
SESSION_ID=6435994,qVzNKXVcvLya754a+fQXUKzm5BIckXQvbVMFB3nXUylET1z+NjlMNg
==; WtrDlvrSessionId=v481qrcs; branch_rn=0; open_category=21806;
open_type=0; seasonal=0"
"
http://www.waitrosedeliver.com/wdeliver/servlet/JSPs/shop/display.jsp?cgrfnbr=21880&merchant_rn=2071&branch_rn=0&siteCode=WD&page_type=display&page_number=0&close_down=no&del_date=2411031
"
2003/11/25 00:00:08 192.168.215.33 - 192.168.215.33 GET
/images/products/2/LN_082016_BP_2.jpg?v=uu2sbm8g HTTP/1.1 - 200 1775 - 0
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827"
"WtrDlvrId=v1vuhch5; primg=1;
SESSION_ID=6435994,qVzNKXVcvLya754a+fQXUKzm5BIckXQvbVMFB3nXUylET1z+NjlMNg
==; WtrDlvrSessionId=v481qrcs; branch_rn=0; open_category=21806;
open_type=0; seasonal=0"
"
http://www.waitrosedeliver.com/wdeliver/servlet/JSPs/shop/display.jsp?cgrfnbr=21880&merchant_rn=2071&branch_rn=0&siteCode=WD&page_type=display&page_number=0&close_down=no&del_date=2411031
"
2003/11/25 00:00:08 192.168.215.33 - 192.168.215.33 GET
/images/products/2/LN_030762_BP_2.jpg?v=soo0e1o8 HTTP/1.1 - 200 1112 - 0
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827"
"WtrDlvrId=v1vuhch5; primg=1;
SESSION_ID=6435994,qVzNKXVcvLya754a+fQXUKzm5BIckXQvbVMFB3nXUylET1z+NjlMNg
==; WtrDlvrSessionId=v481qrcs; branch_rn=0; open_category=21806;
open_type=0; seasonal=0"
"
http://www.waitrosedeliver.com/wdeliver/servlet/JSPs/shop/display.jsp?cgrfnbr=21880&merchant_rn=2071&branch_rn=0&siteCode=WD&page_type=display&page_number=0&close_down=no&del_date=2411031
"
2003/11/25 00:00:08 192.168.215.33 - 192.168.215.33 GET
/images/products/2/LN_082102_BP_2.jpg?v=sq0gajso HTTP/1.1 - 200 1067 - 0
"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030827"
"WtrDlvrId=v1vuhch5; primg=1;
SESSION_ID=6435994,qVzNKXVcvLya754a+fQXUKzm5BIckXQvbVMFB3nXUylET1z+NjlMNg
==; WtrDlvrSessionId=v481qrcs; branch_rn=0; open_category=21806;
open_type=0; seasonal=0"
"
http://www.waitrosedeliver.com/wdeliver/servlet/JSPs/shop/display.jsp?cgrfnbr=21880&merchant_rn=2071&branch_rn=0&siteCode=WD&page_type=display&page_number=0&close_down=no&del_date=2411031
"


My analog.cfg is as follows

# If you need a LOGFORMAT command (most people don't -- try it without
first!),
# it must go here, above the LOGFILE commands.
#APACHELOGFORMAT (%{%Y/%m/%d}t %{%H:%M:%S}t %a %u %h %r %{URI}i %>s %b
%{Content-Length}i %T \"%{User-Agent}i\" \"%{Cookie}i\" \"%{Referer}i\")
LOGFORMAT (%h %l %u %t %p \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\")
LOGFORMAT (%h %l %u %t \"%r\" %>s %b)
LOGFORMAT (%{Referer}i -> %U)
LOGFORMAT (%{User-agent}i)
#CP WAS HERE
LOGFORMAT (%{%Y/%m/%d}t %{%H:%M:%S}t %a %u %h %r %{URI}i %>s %b
%{Content-Length}i %T \"%{User-Agent}i\" \"%{Cookie}i\" \"%{Referer}i\")


LOGFILE logfile.log
# LOGFILE C:\old\logs\access_log.*
OUTFILE Report.html
HOSTNAME "[Waitrose Deliver]"
#
# You probably don't need to change anything below this until you are
# experienced.


When I run analog , gives me the following errors

U:\ANALOG\analog 5.32>analog
analog: analog version 5.32/Win32
analog: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT (%h %l %u %t %p \"%r\" %>s %b \"%{Referer}i\"
\"%{User-Agent}i\")
analog: ...cont..:   (reason: an unknown item code is present)
  (For help on all errors and warnings, see docs/errors.html)
analog: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT (%h %l %u %t \"%r\" %>s %b)
analog: ...cont..:   (reason: an unknown item code is present)
analog: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT "%{Referer}i -> %U"
analog: ...cont..:   (reason: an unknown item code is present)
analog: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT %{User-agent}i
analog: ...cont..:   (reason: an unknown item code is present)
analog: Warning C: Bad argument in configuration command: ignoring it:
  LOGFORMAT (%{%Y/%m/%d}t %{%H:%M:%S}t %a %u %h %r %{URI}i %>s %b
  %{Content-Length}i %T \"%{User-Agent}i\" \"%{Cookie}i\" \"%{Referer}i\")
analog: ...cont..:   (reason: an unknown item code is present)
analog: Warning F: Can't auto-detect format of logfile logfile.log:
ignoring
  it
analog: Warning R: Turning off empty time reports
analog: Warning R: Turning off empty Request Report
analog: Warning R: Turning off empty File Type Report
analog: Warning R: Turning off empty Directory Report
analog: Warning R: Turning off empty Domain Report
analog: Warning R: Turning off empty Organisation Report
analog: Warning R: Turning off empty Search Word Report
analog: Warning R: Turning off empty Operating System Report
analog: Warning R: Turning off empty File Size Report
analog: Warning R: Turning off empty Status Code Report

U:\ANALOG\analog 5.32>


How do I configure my Log Formats in analog.cfg

Many Thanks

Bharat














*********************************************************************

Notice:  This email is confidential and may contain copyright material
of the John Lewis Partnership. If you are not the intended recipient,
please notify us immediately and delete all copies of this message.
(Please note that it is your responsibility to scan this message for
viruses).
Email to and from the John Lewis Partnership is automatically
monitored for operational and lawful business reasons.
*********************************************************************

John Lewis plc                                   Registered in England
233462
Registered office                    171 Victoria Street London SW1E 5NN


Websites: http://www.johnlewis.com and http://www.waitrose.com

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------







*********************************************************************

Notice:  This email is confidential and may contain copyright material 
of the John Lewis Partnership. If you are not the intended recipient, 
please notify us immediately and delete all copies of this message.  
(Please note that it is your responsibility to scan this message for viruses).
Email to and from the John Lewis Partnership is automatically
monitored for operational and lawful business reasons.
*********************************************************************

John Lewis plc                  Registered in England 233462
Registered office               171 Victoria Street London SW1E 5NN     
      
Websites: http://www.johnlewis.com and http://www.waitrose.com

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to