In message <[EMAIL PROTECTED]>, Aengus Lawlor
<[EMAIL PROTECTED]> writes
>Ben Blackmore wrote:
>
>>I use Analog to analyse the log files of our customers, of which we
>>have many. I used to have to keep changing the config file for each
>>user, I then decided to keep a separate directory for each customer,
>>each with its own version of analog in, which was configured to that
>>specific customer. I was wondering it would be possible to run a bat
>>file, which will fun run all the versions of analog with a single
>>click. This would be easy and simple, BUT I also want to run QDNS with
>>it. So far the bat file looks like this:
>>
>>@customer1\analog
>>@customer2\analog
>>@customer3\analog
>>
>>I need to put something like this at the top: -
>>
>>@qdns /g analog.cfg /y 158.152.1.58
>
>As far as I know, the only things that QDNS cares about in the
>analog.cfg are the DNS filename, how long the DNS entries are considered
>good, and the logfile name. As you are probably using the same DNS
>filename for all your logs (there's no advantage in resolving the name
>separately for different hosts), there's no point in using the /g
>parameter in your example.
>
>I'd just call QDNS before each run like this
>
>
>@qdns /d dns.dns /l customer1\access.log /y 158.152.1.58
>@customer1\analog
>@qdns /d dns.dns /l customer2\access.log /y 158.152.1.58
>@customer2\analog
>@qdns /d dns.dns /l customer3\access.log /y 158.152.1.58
>@customer3\analog
>
>(In the event that you have enough memory, this will mean that the log
>file should still be in cache when analog reads it, which may improve
>performance slightly. I don't think QDNS performance will be affected by
>running it 3 times instead of once unless your DNS file is huge).
>
>Aengus
>------------------------------------------------------------------------
>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]/
>------------------------------------------------------------------------
Aengus,
Thanks for the help. The only trouble with missing out the "/g
config.cfg" is if you have muliple log files to analyse. Or is the a way
of doing "/l access1.log, access2.log, access3.log" Thats why I use "/g
config.cfg" because qdns sees what log files to use.
Ben
--
Ben Blackmore
------------------------------------------------------------------------
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]/
------------------------------------------------------------------------