Hi Jeffrey,
scroll in your analog.cfg file down to a line starting with 'LOGFILE'
and specify the full path like this
LOGFILE "Macintosh HD:path:to:analog folder:logfiles folder:*.gz"
In my analog version (analog-6.0.sit.hqx) the analog.cfg is full of
comments (lines starting with '#'), and right below the LOGFILE line
there is a good description of what to do:
# Specify the log file(s) to be processed. May consist of a list of file
# names seperated by commas and the file name (but not the directory
# name portion) may contain wild cards ('*' and '?').
# This can also be a relative or full path name, for example:
#LOGFILE "Hard disk:WebSTAR 2.0:*.log"
So be careful to put your path between "" and use ':' as path
delimiters, and specify the full path as the comment shows.
I just installed analog on my 10.3.9 Powerbook where I put the analog
folder in the 'Shared' folder since I have different accounts on my Macs
(so I don't log in as admin all the time).
Here is the POSIX path to my analog.cfg:
/Users/Shared/webstats/domainABC/Analog_6p0/analog.cfg
(you see that I even don't use spaces in folder names, some Java apps
need that, so it's just my normal behavior to store files)
and this is what I specified in analog.cfg:
LOGFILE "mydisk:Users:Shared:webstats:domainABC:Analog_6p0:logfiles:*.gz"
It's easiest to use a little AppleScript to get the right path (e.g. a
german system might trick you with different names in the Finder for
your special folder names, the 'Users' folder is shown as 'Für alle
Benutzer')
-- begin of AppleScript
on run
set theFile to choose file
MakeIt(theFile)
end run
on open theFileList
set theFile to item 1 of theFileList
MakeIt(theFile)
end open
on MakeIt(theFile)
set thePath to theFile as string
display dialog thePath buttons {"OK"} default button 3 giving up after 1
set the clipboard to thePath
end MakeIt
--end of AppleScript
Save that as an application with a name like CopyPathToClipboard and
drag one of the logfiles to that script.
I wouldn't use the desktop folder. Are you sure you have all the (read)
rights for your .gz files?
Hope that helps,
Carl
From: Jeffrey Ellis <[EMAIL PROTECTED]>
On 2005-10-12 18:02:16 -0700, "Aengus"
<[EMAIL PROTECTED]> said:
On Wednesday, October 12, 2005 6:52 PM [EDT],
Jeffrey Ellis <[EMAIL PROTECTED]> wrote:
My server uses the Analog format (it says!) for files, using .gz
compression.
I've downloaded the entire folder of logs to my HD, and placed it in
the Analog directory, using the default name on the server,
"www_logs".
I've added the following line to the analog.cfg file:
LOGFILE www_logs/www.200*.gz
I have also tried it as just one file to see if that would work:
LOGFILE www_logs/www.20051011.gz
The error I get is:
analog: Warning F: Failed to open logfile www_logs/www.20051011.gz:
ignoring it
I'm on Mac OS 10.4. This is the port of the app from UNIX, IIRC. I'm
just opening the app.
I have tried setting the full path:
"Macintosh HD"/Users/jeffrey/Desktop/Analog/www_logs/www.20051011.gz
and then as
"Macintosh HD/Users/jeffrey/Desktop/Analog/www_logs/www.20051011.gz"
and as:
Users/jeffrey/Desktop/Analog/www_logs/www.20051011.gz
+------------------------------------------------------------------------
| 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
+------------------------------------------------------------------------