Groups | Search | Server Info | Login | Register
Groups > uk.comp.os.linux > #23737
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Newsgroups | uk.comp.os.linux, alt.os.linux.ubuntu |
| Subject | Re: daemon program? |
| Date | 2025-09-10 11:31 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrn10c2od7.27s.dan@djph.net> (permalink) |
| References | (2 earlier) <109rb8b$1i7fe$1@dont-email.me> <slrn10c2efi.27s.dan@djph.net> <109rfs8$1iu6u$1@dont-email.me> <slrn10c2hmq.27s.dan@djph.net> <109rmtv$1l9o9$1@dont-email.me> |
Cross-posted to 2 groups.
On 2025-09-10, Mike Scott wrote: > On 10/09/2025 10:37, Dan Purgert wrote: >> I'm not sure what you mean here. "Logrotate" is a tool that exists. > > logrotate assumes the target can close and re-open its log. By default, sure; but there are options to deal with it. copytruncate Truncate the original log file to zero size in place after cre- ating a copy, instead of moving the old log file and optionally creating a new one. It can be used when some program cannot be told to close its logfile and thus might continue writing (ap- pending) to the previous log file forever. Note that there is a very small time slice between copying the file and truncating it, so some logging data might be lost. When this option is used, the create option will have no effect, as the old log file stays in place. The copytruncate option allows storing rotated log files on the different devices using olddir directive. The copytruncate option implies norenamecopy. -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: DDAB 23FB 19FA 7D85 1CC1 E067 6D65 70E5 4CE7 2860
Back to uk.comp.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar
daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-04 08:08 +0100
Re: daemon program? Richard Kettlewell <invalid@invalid.invalid> - 2025-09-04 08:26 +0100
(resoilved) Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-04 08:38 +0100
Re: (resoilved) Re: daemon program? Dan Purgert <dan@djph.net> - 2025-09-04 09:22 +0000
Re: (resoilved) Re: daemon program? Paul <nospam@needed.invalid> - 2025-09-04 06:12 -0400
Re: (resoilved) Re: daemon program? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-04 20:54 +0000
Re: (resoilved) Re: daemon program? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-05 04:05 +0000
Re: (resoilved) Re: daemon program? Richard Kettlewell <invalid@invalid.invalid> - 2025-09-05 08:16 +0100
Re: (resolved) Re: daemon program? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-05 07:55 +0000
Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-10 09:01 +0100
Re: daemon program? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-10 08:27 +0000
Re: daemon program? Chris Elvidge <chris@internal.net> - 2025-09-10 12:04 +0100
Re: daemon program? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-10 19:32 +0000
Re: daemon program? Chris Elvidge <chris@internal.net> - 2025-09-11 13:46 +0100
Re: daemon program? Richard Kettlewell <invalid@invalid.invalid> - 2025-09-11 18:48 +0100
Re: daemon program? Dan Purgert <dan@djph.net> - 2025-09-10 08:42 +0000
Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-10 10:20 +0100
Re: daemon program? Dan Purgert <dan@djph.net> - 2025-09-10 09:37 +0000
Re: daemon program? Theo <theom+news@chiark.greenend.org.uk> - 2025-09-10 11:08 +0100
Re: daemon program? Dan Purgert <dan@djph.net> - 2025-09-10 10:54 +0000
Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-10 12:25 +0100
Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-10 12:20 +0100
Re: daemon program? Dan Purgert <dan@djph.net> - 2025-09-10 11:31 +0000
Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-10 16:52 +0100
Re: daemon program? Richard Kettlewell <invalid@invalid.invalid> - 2025-09-11 08:49 +0100
(resolved) Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-11 11:02 +0100
Re: (resolved) Re: daemon program? Chris Elvidge <chris@internal.net> - 2025-09-11 13:53 +0100
Re: (resolved) Re: daemon program? Mike Scott <usenet.16@scottsonline.org.uk.invalid> - 2025-09-12 16:19 +0100
Re: (resolved) Re: daemon program? Lawrence D’Oliveiro <ldo@nz.invalid> - 2025-09-11 22:17 +0000
csiph-web