1 |
Richard Broersma Jr wrote: |
2 |
|
3 |
>I was wondering if anyone could point me to the conf file to turn on log rotation for my |
4 |
>emerge.log. |
5 |
> |
6 |
>Regards, |
7 |
> |
8 |
>Richard Broersma Jr. |
9 |
> |
10 |
> |
11 |
|
12 |
I use logrotate and it is here. |
13 |
|
14 |
/etc/logrotate.d |
15 |
|
16 |
Here is a sample of the file: |
17 |
|
18 |
> /var/log/http-replicator.log { |
19 |
> size 10k |
20 |
> missingok |
21 |
> copytruncate |
22 |
> compress |
23 |
> } |
24 |
|
25 |
|
26 |
That is for http-replicator and the file is named the same. I guess the |
27 |
name doesn't matter really. |
28 |
|
29 |
I'm not sure but I think you need a cron job to run it to. Not real sure. |
30 |
|
31 |
Hope that helps. |
32 |
|
33 |
Dale |
34 |
:-) |
35 |
-- |
36 |
gentoo-user@g.o mailing list |