Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #123
| From | Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Limiting the the size of log files |
| Date | 2011-03-29 13:51 +0100 |
| Message-ID | <mpro.litl1z006h2um033o@wingsandbeaks.org.uk.invalid> (permalink) |
| References | <51bb7caea6bob@sick-of-spam.invalid> <mpro.litgto0037k7o033o@wingsandbeaks.org.uk.invalid> <51bb8c2ee0bob@sick-of-spam.invalid> |
Bob Latham <bob@sick-of-spam.invalid> wrote: > In article <mpro.litgto0037k7o033o@wingsandbeaks.org.uk.invalid>, > Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> > wrote: > > > Yes... There's no point in throwing away log info; if you do you'll then > > find you need it. I've always run apps that have configurable logging > > with as much detail in the logs as is possible. The speed impact is > > negligible compared with the difficulty (with no/inadequate logs) in > > diagnosing problems. > > I take your point. I just find that if I don't keep trimming these files > by hand backups take ages backing up huge log files. Sure but if the file is archived every day, the current one won't ever get huge. And you don't need to make multiple backups of those already archived. > In addition, I've never found I needed more than a couple of days of > logging. You surprise me. You use every app every day? The reason to keep lots of logs is to give you a good chance that you still have a log from when something was last used ok - which could be weeks or months ago. Even in normal use if you're ill or on holiday your machine might not get used for a few weeks. You don't want the first thing that happens when it's next booted is that all the old logs are deleted. > I'm also concerned about my wife's machine ceasing to function whilst I'm > not there due to a humungous log file. The application in question does > not appear to offer any log file management facilities. It's too much like hard work using per-app log managers. It's far easier to use your own code to move any app's log to an archive and (if necessary) place an empty log file where the app can then add to it. -- Jeremy C B Nicoll - my opinions are my own. Email sent to my from-address will be deleted. Instead, please reply to newsreplyaaa@wingsandbeaks.org.uk replacing "aaa" by "284".
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Limiting the the size of log files Bob Latham <bob@sick-of-spam.invalid> - 2011-03-29 12:59 +0100
Re: Limiting the the size of log files Ian Hamilton <Ian.Hamilton@AAUG.net> - 2011-03-29 13:26 +0100
Re: Limiting the the size of log files Dr Peter Young <pnyoung@ormail.co.uk> - 2011-03-29 15:02 +0100
Re: Limiting the the size of log files Bob Latham <bob@sick-of-spam.invalid> - 2011-03-29 15:37 +0100
Re: Limiting the the size of log files Steve Fryatt <news@stevefryatt.org.uk> - 2011-03-29 22:24 +0100
Re: Limiting the the size of log files Ian Hamilton <Ian.Hamilton@AAUG.net> - 2011-03-30 06:34 +0100
Re: Limiting the the size of log files Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-03-29 13:51 +0100
Re: Limiting the the size of log files Bob Latham <bob@sick-of-spam.invalid> - 2011-03-29 15:43 +0100
Re: Limiting the the size of log files Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-03-29 16:10 +0100
Re: Limiting the the size of log files "Ste (news)" <steve@revi11.plus.com> - 2011-03-31 13:24 +0100
Re: Limiting the the size of log files Bob Latham <bob@sick-of-spam.invalid> - 2011-03-31 15:13 +0100
Re: Limiting the the size of log files Dave Higton <davehigton@dsl.pipex.com> - 2011-03-31 20:14 +0100
Re: Limiting the the size of log files Matthew Phillips <mnews@sinenomine.freeserve.co.uk> - 2011-03-31 21:27 +0100
Re: Limiting the the size of log files Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-03-31 21:45 +0100
Re: Limiting the the size of log files Dave Higton <davehigton@dsl.pipex.com> - 2011-04-01 21:41 +0100
Re: Limiting the the size of log files Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-04-02 00:33 +0100
csiph-web