Re: Analog and Ezproxy

"Aengus" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <83FD2E45941248B5AE59CBCA6D2BB263@WC515ALawlo>
Shannon E. Fox <sfox-/[email protected]> wrote:
> I want to use Analog to analyze my Ezproxy stats. I have entered the
> following command into the ezproxy.cfg file to set up daily logs that
> can then be analyzed monthly:
> 
> LogFile -strftime log/ezp%Y%m%d.log
> 
> The problem is that this command is generating file names that include
> the entire year, rather then the appended '08, and Analog doesn't like
> that.
> 
> Does anyone know how I should amend the command line above so that my
> log file name will look like
> 
> ezp080701
> 
> instead of
> 
> ezp20080701

????

Analog doesn't care what your logfiles are called.

If you're using codes in your Analog LOGFILE command, there's a code for a 4 digit year as well as a 2 digit year. Assuming you're using 

LOGFILE log/ezp%y%M%D.log

in Analog now, just change it to 

LOGFILE log/ezp%Y%M%D.log

(uppercase Y for 4-digit year).

http://analog.cx/docs/logfile.html#datecodes

Aengus

+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.