You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark McCulligh <mm...@visualtech.ca> on 2004/10/01 17:41:36 UTC
[users@httpd] split-logfile destination?
Hi Group,
I have writing a Shell Script that will rotate my log files monthly. I
am doing the single log for all my vhost logs using %v. Then I am using
split-logfile script to split the file up. But the split-logfile will
put the splitted logs files were ever my Shell Script is run from, NOT
the master log file location.
Is there away to control the destination of the splitted log files when
using the split-logfile script. I do not want to modify the
split-logfile script to be hard coded directly to one location.
Thanks,
Mark.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] split-logfile destination?
Posted by Aman Raheja <ar...@techquotes.com>.
http://www.tldp.org/LDP/abs/html/arrays.html
HTH
Aman Raheja
Mark McCulligh wrote:
> Thanks, was able to take part of their script to get min working.
>
> Does anyone know of a good tuturial on how to do a two-dimensional
> array in a shell script?
>
> Mark.
>
>
> Aman Raheja wrote:
>
>> http://slacksite.com/apache/scripts/logcron
>>
>> HTH
>> Aman Raheja
>>
>> Mark McCulligh wrote:
>>
>>> Hi Group,
>>>
>>> I have writing a Shell Script that will rotate my log files monthly.
>>> I am doing the single log for all my vhost logs using %v. Then I am
>>> using split-logfile script to split the file up. But the
>>> split-logfile will put the splitted logs files were ever my Shell
>>> Script is run from, NOT the master log file location.
>>>
>>> Is there away to control the destination of the splitted log files
>>> when using the split-logfile script. I do not want to modify the
>>> split-logfile script to be hard coded directly to one location.
>>>
>>> Thanks,
>>> Mark.
>>>
>>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] split-logfile destination?
Posted by Mark McCulligh <mm...@visualtech.ca>.
Thanks, was able to take part of their script to get min working.
Does anyone know of a good tuturial on how to do a two-dimensional array
in a shell script?
Mark.
Aman Raheja wrote:
> http://slacksite.com/apache/scripts/logcron
>
> HTH
> Aman Raheja
>
> Mark McCulligh wrote:
>
>> Hi Group,
>>
>> I have writing a Shell Script that will rotate my log files monthly.
>> I am doing the single log for all my vhost logs using %v. Then I am
>> using split-logfile script to split the file up. But the
>> split-logfile will put the splitted logs files were ever my Shell
>> Script is run from, NOT the master log file location.
>>
>> Is there away to control the destination of the splitted log files
>> when using the split-logfile script. I do not want to modify the
>> split-logfile script to be hard coded directly to one location.
>>
>> Thanks,
>> Mark.
>>
>>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] split-logfile destination?
Posted by Aman Raheja <ar...@techquotes.com>.
http://slacksite.com/apache/scripts/logcron
HTH
Aman Raheja
Mark McCulligh wrote:
> Hi Group,
>
> I have writing a Shell Script that will rotate my log files monthly. I
> am doing the single log for all my vhost logs using %v. Then I am
> using split-logfile script to split the file up. But the
> split-logfile will put the splitted logs files were ever my Shell
> Script is run from, NOT the master log file location.
>
> Is there away to control the destination of the splitted log files
> when using the split-logfile script. I do not want to modify the
> split-logfile script to be hard coded directly to one location.
>
> Thanks,
> Mark.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org