Hi!

I'm realy confused, since I'm new to Suse, Apache and of course not experienced 
with Analog terminology.

Maybe the next information can make it easier for you to help me.

I found the followings in the Apache files hierarchy:

1. File: /etc/sysconfig/apache2 contain the line:
   APACHE_ACCESS_LOG="/var/log/apache2/access_log combined" 
-------------------------------------------------------------

2. In the file /etx/apache2/syscinfig.d/global.conf are the following lines, 
last line is about access_log:
#
# Files in this directory are created at apache start time by 
/usr/sbin/rcapache2 
# Do not edit them!
#
# see /etc/sysconfig/apache2
Timeout 300
ServerSignature on
UseCanonicalName off
ServerTokens OS
LogLevel warn
CustomLog /var/log/apache2/access_log combined
----------------------------------------------------------------

3. File: mod_log_config.conf are the following lines:
#
# The following directives define some format nicknames for use with
# a CustomLog directive.
#
# http://httpd.apache.org/docs-2.2/mod/mod_log_config.html 
#

#
#         Format string:                                Nickname:
#
LogFormat "%h %l %u %t \"%r\" %>s %b"                   common
LogFormat "%v %h %l %u %t \"%r\" %>s %b"                vhost_common
LogFormat "%{Referer}i -> %U"                           referer
LogFormat "%{User-agent}i"                              agent
LogFormat "%h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\""                     combined
LogFormat "%v %h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\""                     vhost_combined

# To use %I and %O, you need to enable mod_logio
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\" %I %O"               combinedio
</IfModule>

# Use one of these when you want a compact non-error SSL logfile on a virtual
# host basis:
<IfModule mod_ssl.c>
Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
\"%r\" %b"                                              ssl_common
Logformat "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
\"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\""           ssl_combined
</IfModule>
-------------------------------------------------------------------------------

4. In the Analog_Error file appears:
#
F: Closing logfile /var/log/apache2/access_log
S: Successful requests: 989
S: Redirected requests: 8
S: Failed requests: 48
S: Requests returning informational status code: 0
S: Status code not given: 0
S: Unwanted lines: 3649
S: Corrupt lines: 563
analog: Warning L: Large number of corrupt lines in logfile
  /var/log/apache2/access_log: turn debugging on or try different LOGFORMAT
    Current logfile format:
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r%wHTTP%j" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%j%w%r" %c %b "%f" "%B"\n
      %S %j %j [%d/%M/%Y:%h:%n:%j] "%r" %c %b "%f" "%B"\n
---------------------------------------------------------------------------------

5. File /etc/analog.cfg contain:
#
DEBUG ON
# LOGFORMAT COMBINED
APACHELOGFORMAT COMBINED

ERRFILE /Applic/HTDocs/Analog_Errors.txt
LOGFILE /var/log/apache2/access_log 
OUTFILE /Applic/HTDocs/Analog_Report.html
HOSTNAME "Kalmanovitz Bros. Ltd."
HOSTURL http://www.kalmanovitz.co.il/ 
-----------------------------------------------------------------------------------

6. Few lines from the /var/log/apache2/access_log file:
C: ::1 - - [24/Feb/2009:21:54:44 +0200] "GET /" 400 991
C:                                                     *
C: 66.249.71.70 - - [25/Feb/2009:00:15:32 +0200] "GET /CZ/2006-26/Gac27a.pdf 
HTTP/1.1" 403 590
C:                                                                              
              *
C: 66.249.71.70 - - [25/Feb/2009:05:22:43 +0200] "GET /robots.txt HTTP/1.1" 403 
590
C:                                                                              
   *
C: 66.249.71.70 - - [25/Feb/2009:05:22:43 +0200] "GET 
/K_comm/english/Roots_tree/Pictures/rt0051a.jpg HTTP/1.1" 403 590
C:                                                                              
                                       *
C: ::1 - - [25/Feb/2009:05:59:14 +0200] "GET /" 400 991
C: 
-------------------------------------------------------------------------------------

Is the above information relevant?
What shall i change and where?

TIA

Nanu

>>> Stephen Turner<analog-aut...@lists.meer.net> 24/02/2009 13:21:13 >>>
2009/2/24 Nanu Kalmanovitz <n...@kalmanovitz.co.il>:
> In the analog.cfg i have the line LOGFORMAT COMBINE
>

But the lines you posted were not in COMBINED format because they
don't have referrer and browser on the end. Have you got logfile lines
in more than one format?

-- 
Stephen Turner
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help 
|
|  Analog Documentation: http://analog.cx/docs/Readme.html 
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives 
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------




+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to