Unix and Linux Discussions Tagged with logfile |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
2,893 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
3,287 |
Shell Programming and Scripting |
|
|
|
1 |
2,701 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,009 |
HP-UX |
|
|
|
1 |
3,760 |
Shell Programming and Scripting |
|
|
|
6 |
38,431 |
Shell Programming and Scripting |
|
|
|
2 |
1,551 |
Shell Programming and Scripting |
|
|
|
13 |
5,866 |
Shell Programming and Scripting |
|
|
|
2 |
7,210 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,146 |
Software Releases - RSS News |
|
|
|
0 |
925 |
Software Releases - RSS News |
|
|
|
11 |
5,563 |
Shell Programming and Scripting |
|
|
|
0 |
898 |
Software Releases - RSS News |
|
|
|
0 |
11,065 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,026 |
Shell Programming and Scripting |
|
|
|
10 |
13,682 |
Shell Programming and Scripting |
|
|
|
1 |
3,397 |
Shell Programming and Scripting |
|
|
|
3 |
3,325 |
Shell Programming and Scripting |
|
|
|
4 |
8,082 |
Shell Programming and Scripting |
|
|
|
5 |
3,070 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,471 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
21,291 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,923 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
4,396 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,039 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
7,301 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,714 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
13,051 |
UNIX for Dummies Questions & Answers |
BOOTLOGD(8) Linux System Administrator's Manual BOOTLOGD(8)
NAME
bootlogd - record boot messages
SYNOPSIS
/sbin/bootlogd [-c] [-d] [-r] [-s] [-v] [ -l logfile ] [ -p pidfile ]
DESCRIPTION
Bootlogd runs in the background and copies all strings sent to the /dev/console device to a logfile. If the logfile is not accessible, the
messages will be kept in memory until it is.
OPTIONS
-d Do not fork and run in the background.
-c Attempt to write to the logfile even if it does not yet exist. Without this option, bootlogd will wait for the logfile to appear
before attempting to write to it. This behavior prevents bootlogd from creating logfiles under mount points.
-r If there is an existing logfile called logfile rename it to logfile~ unless logfile~ already exists.
-s Ensure that the data is written to the file after each line by calling fdatasync(3). This will slow down a fsck(8) process running
in parallel.
-v Show version.
-l logfile
Log to this logfile. The default is /var/log/boot.
-p pidfile
Put process-id in this file. The default is no pidfile.
BUGS
Bootlogd works by redirecting the console output from the console device. (Consequently bootlogd requires PTY support in the kernel con-
figuration.) It copies that output to the real console device and to a log file. There is no standard way of ascertaining the real con-
sole device if you have a new-style /dev/console device (major 5, minor 1) so bootlogd parses the kernel command line looking for con-
sole=... lines and deduces the real console device from that. If that syntax is ever changed by the kernel, or a console type is used that
bootlogd does not know about then bootlogd will not work.
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
SEE ALSO
dmesg(8),fdatasync(3).
Jul 21, 2003 BOOTLOGD(8)