Homepage Wiki Forum Buy

Syslogd activation



Kernel configuration

At first you should activate the log device:

make menuconfig
 Networking support --->
        Networking options --->
                Unix domain sockets

Compile kernel and modules

Now we have to compile the kernel and the modules. for detailed instructions how to to this please lookup the article Kernel compile + Module installation. After this step we copy the created files on the SD-card.

Filling the Logfile

Now we can write a test entry into the logfile.

root@gnublin:~# logger -i -p mail.emerg Virus found

Read out syslogd

Now we can read out kernel messages with following command:

root@gnublin:~# logread
In other languages