Prev: problems with dell poweredge server R140 (rack)
Next: an apology - was Re: Backups - was: Re: LVM
From: Jozsi Vadkan on 15 Jun 2010 15:40 Can anyone post a link, to a good howto, how to: - turn off logging to console - turn off logging to files [/var/log/messages] - turn off all logging Reason: because Lenny is not on a normal HDD, so i don't want to write to often. And i don't need any logging on it. Thank you! -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1276630251.11424.5.camel(a)localhost
From: Jozsi Vadkan on 15 Jun 2010 16:30 /etc/init.d/rsyslog stop chmod -x /etc/init.d/rsyslog is that enough? or the system logs somewhere else? > Can anyone post a link, to a good howto, how to: > > - turn off logging to console > - turn off logging to files [/var/log/messages] > - turn off all logging > > Reason: because Lenny is not on a normal HDD, so i don't want to write > to often. And i don't need any logging on it. > > Thank you! > -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1276632255.11424.8.camel(a)localhost
From: Jordan Metzmeier on 15 Jun 2010 18:20 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 06/15/2010 04:04 PM, Jozsi Vadkan wrote: > /etc/init.d/rsyslog stop > chmod -x /etc/init.d/rsyslog > > is that enough? or the system logs somewhere else? > > >> Can anyone post a link, to a good howto, how to: >> >> - turn off logging to console >> - turn off logging to files [/var/log/messages] >> - turn off all logging >> >> Reason: because Lenny is not on a normal HDD, so i don't want to write >> to often. And i don't need any logging on it. >> >> Thank you! >> > chmod -x is not the proper way to disable a startup service. I recommend using sysv-rc-conf, which has an easy-to-use interface. Not all applications use syslog and will need to be disabled on a per-application basis. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAEBCAAGBQJMF/q2AAoJEKj/C3qNthmTqqwP/jnApdWet8snKnH10NMZCm1Z qR3HgxtqI1nWZqSL5tqdIdqZM9alXbRKA6t03IBnZRXv5PmJaI2pygmV6toLJzMo v1/j2ng8yhDSaRERWkP7D0IeHPbR4XPAiwGCsgYMobDlqiAUHglrDsThITkb7gff Aoh5/1XukVMEVLHhS23T5BFDgISzd3BIuCwJjzflG5OdAXJTYrlmPTe6gxQpkYD2 iYhCb/2sSZBCFf0QcsB1wLP+kBhH9dz6cpzr/LVtQdMJUufR77oUcEo7zOykaOYU 0/vH+5GRxj32dwTCGkza4A3X92AlhIRnAC+eHKBklJ9O52kq3sPgjircDMQnwZJs EPwuIDutZixxGFS0uOey6AcVOZCTRUn3QaerRzg5Vn+VNko8AlD8pNVcalTuKGtd j7j/bpRQEDe/lxfy05DtiJLME6hhjh6OaICzpFnPjqKbD3UNw3wkuLViLHbn7Eju tJhozKGkzEA/I0pW97BihXAmpZzekdLim33RtO8zXlbKnk1MmZy0wzRyu7BTT8Ue hC2VsB8JpbLx7M4Lt78Ie37onAsv7aAAlHb0ufNy/HGmFrY59H8Jz6Ald2pG29bY nzpIdnz4Ere+OxDNwDu52s1rulJTipXmjNdZbni7kKJux/BDDMDt7lS9cgVbTRR5 RjaOWg62ewOROphPKmY/ =AUjd -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/4C17FAC1.4060908(a)gmail.com
From: Karl E. Jorgensen on 15 Jun 2010 18:50 On Tue, Jun 15, 2010 at 10:04:15PM +0200, Jozsi Vadkan wrote: > /etc/init.d/rsyslog stop > chmod -x /etc/init.d/rsyslog > > is that enough? or the system logs somewhere else? That should do it, but it is a slightly hackish way of doing it. Another (IMHO better) way of doing it is to modify the contents of /etc/syslog.conf (or /etc/rsyslogd.conf?) so that only things that you are truly interested in get logged - you're bound to want to want e.g. kernel oops's, OOM killer events logged I guess. You can also use this to send all the system logging information to another system if needed. > > Can anyone post a link, to a good howto, how to: > > > > - turn off logging to console > > - turn off logging to files [/var/log/messages] > > - turn off all logging > > > > Reason: because Lenny is not on a normal HDD, so i don't want to write > > to often. And i don't need any logging on it. Hope this helps -- Karl E. Jorgensen -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100615222644.GA2617(a)hawking.jorgensen.org.uk
From: Rob Owens on 15 Jun 2010 19:40 On Tue, Jun 15, 2010 at 09:30:51PM +0200, Jozsi Vadkan wrote: > Can anyone post a link, to a good howto, how to: > > - turn off logging to console > - turn off logging to files [/var/log/messages] > - turn off all logging > > Reason: because Lenny is not on a normal HDD, so i don't want to write > to often. And i don't need any logging on it. > Alternatively, you could mount /var/log as tmpfs, so it writes to RAM instead of to disk. -Rob -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/20100615232951.GB24303(a)aurora.owens.net
|
Next
|
Last
Pages: 1 2 Prev: problems with dell poweredge server R140 (rack) Next: an apology - was Re: Backups - was: Re: LVM |