Welcome! Log In Create A New Profile

Advanced

How To use syslog?

Posted by Rudolf 
How To use syslog?
September 18, 2010 11:31AM
Hello,

I want to use in Debian Squeeze the utility logger in a shell script, but it does not work.
Also I found no file /var/log/syslog.

I have seen 2 possible solutions:
1. busybox syslogd
2. Debian package syslog-ng

But I have not found any installation directives. It should not conflict with /var/log/messages.
I have seen in "ps-A" no klogd and syslogd by the way. How is the logging done?

Regards, Rudolf
Re: How To use syslog?
September 19, 2010 10:27AM
It´s not done ;)
System install with debootstrap is absolutely minimal.

Try the package rsyslog. It´s the syslog daemon currently used.

If you want a debian standard install:

apt-get install tasksel-data
tasksel install standard

You can see the standard packages here: http://wiki.debian.org/tasksel

Regards
Matt
ecc
Re: How To use syslog?
September 19, 2010 11:29AM
I installed the package busybox-syslogd on my DockStar. It provides a very lightweight syslog built into busybox. It doesn't write to /var/log/syslog, just keeps the log in memory, which you can examine with the "logread" command.
Re: How To use syslog?
September 19, 2010 01:11PM
Hello Matt,

Tank you for the hints, especially "It´s not done ;) "

I have installed package rsyslog and watching it.

I just have a concern about wearing the USB-Stick. Let's see.

Regards, Rudolf
Re: How To use syslog?
September 19, 2010 01:18PM
Hello ecc,

Thank you for reporting about the package busybox-syslogd. I was not aware, that such a package exists.

If rsyslog is too verbose, I will switch to busybox-syslogd.

Regards, Rudolf
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: