Documentation/devtools/maemo5/syslog

(Usage)
 
(One intermediate revision not shown)
Line 1: Line 1:
{{Devtools}}
{{Devtools}}
 +
 +
{{ambox
 +
|type=warning
 +
|text='''Security Warning.'''<br/> syslog outputs may include sensitive information, for example [http://talk.maemo.org/showthread.php?t=88347 IMEI and phone numbers]
 +
}}
Line 35: Line 40:
Note that with time syslog can fill the root filesystem completely.  When that's done by a root process like syslog, it can become so full that the device fails to boot. Several days or even couple of weeks shouldn't be a problem, but it depends on the device usage. So, '''after you don't anymore need syslog, remove it and <tt>rm /var/log/syslog*</tt>.'''
Note that with time syslog can fill the root filesystem completely.  When that's done by a root process like syslog, it can become so full that the device fails to boot. Several days or even couple of weeks shouldn't be a problem, but it depends on the device usage. So, '''after you don't anymore need syslog, remove it and <tt>rm /var/log/syslog*</tt>.'''
 +
 +
If you want to share your syslog file with public (Bugzilla?), removing IMEI and BSSID numbers is very important for security purposes.
== Links ==
== Links ==

Latest revision as of 22:00, 18 January 2013

Image:Ambox_content.png
This article documents a developer tool.
A list of available devtools is available, together with installation instructions.
Image:Ambox_notice.png
Security Warning.
syslog outputs may include sensitive information, for example IMEI and phone numbers


Contents

[edit] Description

The syslogd daemon is responsible for providing logging of messages received from programs and facilities on the local host as well as from remote hosts.

The klogd daemon listens to kernel message sources and is responsible for prioritizing and processing operating system messages. The klogd daemon can run as a client of syslogd or optionally as a standalone program.

[edit] Packages

source: sysklogd

binary: sysklogd, klogd


To install these, run:

sudo gainroot
apt-get install sysklogd

[edit] Usage

To start the klogd and syslog daemons:

# start sysklogd

Note that with time syslog can fill the root filesystem completely. When that's done by a root process like syslog, it can become so full that the device fails to boot. Several days or even couple of weeks shouldn't be a problem, but it depends on the device usage. So, after you don't anymore need syslog, remove it and rm /var/log/syslog*.

If you want to share your syslog file with public (Bugzilla?), removing IMEI and BSSID numbers is very important for security purposes.

[edit] Links

sysklogd man page

klogd man page

[edit] See Also

-