Re: multilog does not use the file size I specify
Charles Cazabon <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Jorge Cuevas <[email protected]> wrote: > > I use the multilog with file rotation, I try to specify the size of > the file and the number of files but for some reason is not working. > Maybe I'm doing it wrong. > My run file is the following: > > #!/bin/sh > exec setuidgid log multilog t s16777215 n25 ./main > > Right now it just keeps the default config and keeps 10 files of size > 99999. What you've got looks right. I'm guessing you changed the run script, but didn't actually restart the logger subservice after doing so, so it's still running the "old" configuration with default values. Did you remember to `svc -t /service/<servicename>/log/`? Charles -- ----------------------------------------------------------------------- Charles Cazabon <[email protected]> GPL'ed software available at: http://pyropus.ca/software/ -----------------------------------------------------------------------