Re: [analog-help] OUTFILE

2004-08-11 Thread analog-help
Thank you very much!

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl

+
|  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
+


Re: [analog-help] OUTFILE

2004-08-11 Thread analog-help
Putting:
ORGFLOOR 1r
into your config file should do it
See:
http://www.analog.cx/docs/othreps.html#FLOOR
for more info
Ben
On Aug 11 2004, Dagmar Kroeker wrote:
There always comes al line with: [not listed: x organisations]
How can I make it, that all be shown?

+
|  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
+


Re: [analog-help] OUTFILE

2004-08-09 Thread analog-help
There may be a better way, but if you make a batch file with the following 
(or equivalent, depending on your OS - this is for a windows)

call analog.exe -G  +gconfig1.cfg
call analog.exe -G  +gconfig2.cfg
call analog.exe -G  +gconfig3.cfg

This should do what you want 

Ben
+
|  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
+


Re: [analog-help] OUTFILE

2004-08-09 Thread analog-help
On Mon, 9 Aug 2004, Dagmar Kroeker wrote:

> I want to produce all in one step.
>

You can't. You have to run analog several times, once for each output file
you want to create.

-- 
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
  "Low Priced Cambridge Clare College. Big selection at eBay UK!"
  (Ad after Google search for Clare College Cambridge)
+
|  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
+


Re: [analog-help] OUTFILE, ERRFILE & Date Substitutions

2003-01-28 Thread analog-help

[EMAIL PROTECTED] ([EMAIL PROTECTED]; Tuesday, January 28, 2003 2:28 PM):



>> > > Also, can anyone point me to some good background info on the
>> > > application of analog in a mass virtual hosting environment?  Some
>> > > standard approaches on the use of a single configfile or per host
>> > > config files would be really appreciated.
>> >
>> > There are some details in the HOW-TO's
>> > (http://analog.cx/how-to/index.html) that can get you started.
>> >
>> > When we setup mass virtual hosts, we always use a default
>> > configuration file (analog.cfg in the Analog directory) and then add
>> > per-host customizations. This makes it easy to quickly make global
>> > changes.

> I've just moved one of my servers to this system and get

> "Warning D: LOGFORMAT in configuration file analog.cfg with no subsequent
> LOGFILE"

> for each host in the batch file. docs/errors.html states that "Most likely
> you put the LOGFORMAT after the LOGFILE command. You must put the
> LOGFORMAT before the LOGFILE command"

> but docs/syntax.html states that "The first file which analog reads is the
> default configuration file, normally called analog.cfg"

> The default configuration file, which is being read, contains

> LOGFORMAT COMBINED
> LOGFORMAT COMMON

> The VirtualHost's file, which should presumably then be read (second)
> contains the LOGFILE command, which is also being read.

> Surely therefore, the LOGFORMAT is before the LOGFILE - so why the
> warning?

Use DEFAULTLOGFORMAT. LOGFORMAT only applies to LOGFILE statements in
the same config file (and the command-line counts as one, separate
config file).

-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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
+



RE: [analog-help] OUTFILE, ERRFILE & Date Substitutions

2003-01-28 Thread analog-help
This all makes sense.  I had just come out of working with cronolog, which
handles all the directory validation for you during rotations, so I was a
bit confused on why certain directives, like LOGFILE, would have it...and
some would not.

The vitual hosting scenarios seem pretty simple as well.  Thanks for the
link.  not sure why i missed that one in the docs.

THANKS!

-eric

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Stephen Turner
Sent: Tuesday, January 28, 2003 1:31 PM
To: [EMAIL PROTECTED]
Subject: Re: [analog-help] OUTFILE, ERRFILE & Date Substitutions


On Tue, 28 Jan 2003, Jeremy Wadsack wrote:
>
> Analog does not create [directories], you'll have to do that by hand. It
> shouldn't be too hard to do with the date command from a shell script.
>

People sometimes ask me about this, by the way, so it's perhaps worth
pointing out that this is a deliberate decision, and indeed follows the
practice of most other programs. The slight loss of convenience is offset by
the chaos which can otherwise be caused by typos.

--
Stephen Turner, Cambridge, UK
http://homepage.ntlworld.com/adelie/stephen/
 "The question of whether a computer can think is no more interesting than
  the question of whether a submarine can swim."  (Edsger W. Dijkstra)

+
|  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
+

+
|  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
+



Re: [analog-help] OUTFILE, ERRFILE & Date Substitutions

2003-01-28 Thread analog-help


> > > Also, can anyone point me to some good background info on the
> > > application of analog in a mass virtual hosting environment?  Some
> > > standard approaches on the use of a single configfile or per host
> > > config files would be really appreciated.
> >
> > There are some details in the HOW-TO's
> > (http://analog.cx/how-to/index.html) that can get you started.
> >
> > When we setup mass virtual hosts, we always use a default
> > configuration file (analog.cfg in the Analog directory) and then add
> > per-host customizations. This makes it easy to quickly make global
> > changes.

I've just moved one of my servers to this system and get

"Warning D: LOGFORMAT in configuration file analog.cfg with no subsequent
LOGFILE"

for each host in the batch file. docs/errors.html states that "Most likely
you put the LOGFORMAT after the LOGFILE command. You must put the
LOGFORMAT before the LOGFILE command"

but docs/syntax.html states that "The first file which analog reads is the
default configuration file, normally called analog.cfg"

The default configuration file, which is being read, contains

LOGFORMAT COMBINED
LOGFORMAT COMMON

The VirtualHost's file, which should presumably then be read (second)
contains the LOGFILE command, which is also being read.

Surely therefore, the LOGFORMAT is before the LOGFILE - so why the
warning?



Martin

+
|  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
+



Re: [analog-help] OUTFILE, ERRFILE & Date Substitutions

2003-01-28 Thread analog-help
On Tue, 28 Jan 2003, Jeremy Wadsack wrote:
> 
> Analog does not create [directories], you'll have to do that by hand. It
> shouldn't be too hard to do with the date command from a shell script.
> 

People sometimes ask me about this, by the way, so it's perhaps worth
pointing out that this is a deliberate decision, and indeed follows the
practice of most other programs. The slight loss of convenience is offset by
the chaos which can otherwise be caused by typos.

-- 
Stephen Turner, Cambridge, UKhttp://homepage.ntlworld.com/adelie/stephen/
 "The question of whether a computer can think is no more interesting than
  the question of whether a submarine can swim."  (Edsger W. Dijkstra)

+
|  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
+



Re: [analog-help] OUTFILE, ERRFILE & Date Substitutions

2003-01-28 Thread analog-help




> > Also, can anyone point me to some good background info on the
> > application of analog in a mass virtual hosting environment?  Some
> > standard approaches on the use of a single configfile or per host
> > config files would be really appreciated.
>
> There are some details in the HOW-TO's
> (http://analog.cx/how-to/index.html) that can get you started.
>
> When we setup mass virtual hosts, we always use a default configuration
> file (analog.cfg in the Analog directory) and then add per-host
> customizations. This makes it easy to quickly make global changes.


I think it would be well worth adding such a suggestion to the

 http://analog.cx/how-to/vhosts1/

page explicitly, as it is likely to be useful in probably the vast
majority of servers running VirtualHosts, but may well be missed.


Martin

+
|  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
+



Re: [analog-help] OUTFILE, ERRFILE & Date Substitutions

2003-01-28 Thread analog-help

Eric Grace ([EMAIL PROTECTED]; Tuesday, January 28, 2003 11:04 AM):

> Hello,

> I'm new to using Analog and have a couple of questions regarding the use of
> Dates in the OUTFILE and ERRFILE:
> 1- ERRFILE does not seem to support date substitutions in the targetfile
> 2- OUTFILE and ERRFILE do not seem to create a directory structure on the
> fly if needed

> For example:
> OUTFILE /logs/%Y/%M/%Y-%M-%d_access.log # desired targetfile
> ERRFILE /logs/%Y/%M/%Y-%M-%d_errors.txt # desired targetfile
> # errors out because the path does not exist.

> Am I missing something else in the configuraiton that would allow this?

There is nothing in the docs stating that ERRFILE supports date
substitutions (http://analog.cx/docs/debug.html#ERRFILE) and testing
it shows that it does not.

Analog does not create paths, you'll have to do that by hand. It
shouldn't be too hard to do with the date command from a shell script.

> Also, can anyone point me to some good background info on the application of
> analog in a mass virtual hosting environment?  Some standard approaches on
> the use of a single configfile or per host config files would be really
> appreciated.

There are some details in the HOW-TO's
(http://analog.cx/how-to/index.html) that can get you started.

When we setup mass virtual hosts, we always use a default
configuration file (analog.cfg in the Analog directory) and then add
per-host customizations. This makes it easy to quickly make global
changes.

Depending on the client we sometimes specify site-specific settings
from the command line and other times from a config file for the site.
It depends on how much customization each site is allowed and how you
store (or acquire) the custom information.



-- 

Jeremy Wadsack
Wadsack-Allen Digital Group

+
|  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
+



Re: [analog-help] OUTFILE Virtual Domains

2000-04-28 Thread Michael Roberts

Klaus Boehme wrote:

> I am using Analog 4.1 (linux/apache) with separate virtual domain LOGFILEs
>
> All is working fine with separate configs.
>
> I have also set up a config with multiple domains in it (multiple LOGFILE
> listings).
>
> It works well to one combined OUTFILE (eg stats.html).
>
> My question, is it possible to have separate OUTFILEs for each virtual from
> the single config?
>
> I hope I've made that clear!!
>
> Thanks
>
> Klaus

One run, one OUTFILE.  But it would be easy to set up a script to run Analog
once for each logfile -- and you could also reuse the same config file for each
run, specifying logfile and outfile on the command line.

Assuming you're running Perl, which in a Linux/Apache environment is highly
likely, it'd be something like this:

#!/usr/bin/perl

opendir DIR, "/your/log/directory" or die "Can't open directory";
@logs = grep (/whatever works/, readdir DIR);
closedir DIR;

foreach $logfile (@logs) {
   $outfile = some_calculation_from ($logfile);
   system "/my/path/analog +gyour.config +C\"OUTFILE=$outfile\" $logfile";
}

(With apologies to Aengus, who surely knows off the top of his head what the
proper switch is for specifying OUTFILE on the command line -- but this should
work.)

Michael


This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/