Re: multilog does not use the file size I specify
Jorge Cuevas <[email protected]>
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Thanks Charles, I wasn't restarting the log, I didn't realize they were separate, but now that you mentioned it, it seems obvious. Thanks everybody for your help. Jorge On Mar 16, 2006, at 2:14 PM, Charles Cazabon wrote: > 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/ > ---------------------------------------------------------------------- > -