See, that's the problem though. I checked the format code and it was set to 
COMMON. But I get this in my log:

Jun 30 20:02:07 localhost httpd_static: 204.71.191.80 - - 
[30/Jun/2001:20:02:07 +0000] "GET /download.html HTTP/1.0" 200 33829 "-" 
"LECodeChecker/3.0 libgetdoc/1.0"

That makes no sense whatsoever. I have tried to use many different format 
commands but Analog typically gets stuck on "localhost" as a star appears 
under "l" in the error log. Here's what I have been trying to use:

#LOGFORMAT %M%w%d%w%h:%n:%j%w%S%w%j:%w"%c%w%r%wHTTP%j"%w%b\n

#LOGFORMAT %M%w%d%w%h:%n:%j%w%S%w%j:%w"%c%w%r%wHTTP%j"%w%b\n

#LOGFORMAT (%M %d %h:%n:%j %j %j: %s %-w%-w[%d/%M/%Y:%h:%n:%j %j] "%j %r 
%j" %c %bw%"%f"w%"%B"\n)
#
#
#LOGFORMAT (%j %j %j:%j:%j %j %j: %s %j - - [%d/%M/%Y:%h:%n:%j %j] "%j %r 
%j" %c %b "%f" "%B")
#LOGFORMAT (%j %j %j:%j:%j %j %j: %s %j - - [%d/%M/%Y:%h:%n:%j %j] "%j %r 
%j" %c %b "-" "%B")
#LOGFORMAT (%j %j %j:%j:%j %j %j: %s %j - - [%d/%M/%Y:%h:%n:%j %j] "%j %r 
%j" %c %b "-" "%u")
#LOGFORMAT (%j %j %j:%j:%j %j %j: %s %j - - [%d/%M/%Y:%h:%n:%j %j] "%j %r 
%j" %c %b "-" "%f")

(ignore the # as I just kept these in the file so I don't have to retype) 
All cause the program to fail to produce any data, but sometimes it does 
create html files with no data. I really want to use the output with 
ReportMagic.

You don't have to make a new format for me, but if you can point out where 
I am astray that would help immensely.

At 10:27 AM 7/25/01 +0100, you wrote:
>On Wed, 25 Jul 2001, Josh Hill wrote:
>
> > Ok, so I spent several hours examining my files and trying to get 
> Analog to
> > recognize them.
> >
> > The server is Apache. But the httpd.conf file indicates that it is using
> > COMMON and COMBINED. But that is not what I'm getting in the logs.
> >
>
>You're right, it's not! You've got to look for the CustomLog line in your
>Apache httpd.conf to see which log format you're using.
>
>Once you've found it, the easiest thing is to use the APACHELOGFORMAT
>command, which uses the same syntax as Apache's LogFormat command, rather
>than plain LOGFORMAT.
>
>--
>Stephen Turner               http://www.statslab.cam.ac.uk/~sret1/
>   Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
>"This is Henman's 8th Wimbledon, and he's only lost 7 matches." BBC, 2/Jul/01

_____________________________________________________________________
Josh Hill
Community Development Manager
eXtropia - the open web technology company
10 Science Park Road, #03-22 The Alpha, Singapore Science Park II, 
Singapore 117684
http://www.eXtropia.com
tel: (65) 773-8550   fax: (65) 872-3788
_____________________________________________________________________

+------------------------------------------------------------------------
|  This is the analog-help mailing list. To unsubscribe from this
|  mailing list, go to
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  List archives are available at
|    http://www.mail-archive.com/analog-help@lists.isite.net/
|    http://lists.isite.net/listgate/analog-help/archives/
|    http://www.tallylist.com/archives/index.cfm/mlist.7
+------------------------------------------------------------------------

Reply via email to