[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LOG file monitoring
- To: Hobbit List <hobbit (at) hswn.dk>
- Subject: Re: LOG file monitoring
- From: Alan Sparks <asparks (at) doublesparks.net>
- Date: Wed, 09 Jul 2008 17:34:50 -0600
- User-agent: Thunderbird 2.0.0.14 (Windows/20080421)
I think your first problem, as I understand, is that wildcards are not understood in the LOG
directive. If you need to use wildcards, or handle conditions where the exact full file
pathname is not known, you need to use backticks and give a command that can print the
exact filenames.
You might experiment with using a client-local.cfg directive something like:
log:`/bin/ls /wls_domains/*/servers/*adminServer/logs/*domain.log`:10240
or
log:`/bin/echo /wls_domains/*/servers/*adminServer/logs/*domain.log`:10240
I have done similar things using a "find" command, as well.
-Alan
Hello. I have a problem using wildcards in logfile monitoring. I need to
monitor the following log files for a specific message:
/wls_domains/*/servers/*adminServer/logs/*domain.log
In my client-local.cfg file I have the following:
[server]
log:/wls_domains/*/servers/*adminServer/logs/*domain.log:10240