how to use patterns with newsyslog ?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how to use patterns with newsyslog ?

Илья Шипицин
Hello!

I tried to use

/big/nginx/*.log                        644  100   10   *     Z
/var/run/nginx.pid SIGUSR1

in order to rotate many files at once, but even "newsyslog -v" show nothing.
is it possible to use patterns with newsyslog ?

Cheers,
Ilya Shipitsin

Reply | Threaded
Open this post in threaded view
|

Re: how to use patterns with newsyslog ?

Philip Guenther-2
On Tue, Apr 3, 2012 at 3:27 AM, PP;Q Q P(P8P?P8QP8P= <[hidden email]>
wrote:
> I tried to use
>
> /big/nginx/*.log B  B  B  B  B  B  B  B  B  B  B  B 644 B 100 B  10 B  * B
B  Z
> /var/run/nginx.pid SIGUSR1
>
> in order to rotate many files at once, but even "newsyslog -v" show
nothing.
> is it possible to use patterns with newsyslog ?

No.


Philip Guenther