logit(1)

logit1

Write log

Usage

logit [OPTIONS] [MESSAGE]

Overview

Write MESSAGE (or stdin) to syslog, or file (with logrotate)

Options

-h

This help text

-p PRIO

Priority (numeric or facility.level pair)

-t TAG

Log using the specified tag (defaults to user name)

-s

Log to stderr as well as the system log

-f FILE

File to write log messages to, instead of syslog

-n SIZE

Number of bytes before rotating, default: 200 kB

-r NUM

Number of rotated files to keep, default: 5

-v

Show program version

Releases

Unchanged in 2 releases since Debian 12 (Bookworm).

  1. 12–13

Author

logit is written by Claudio Matsuoka ⟨cmatsuoka@\:gmail.com⟩ and Joachim Nilsson ⟨troglobit@\:gmail.com⟩.

This manual page was written by Yangfl ⟨mmyangfl@\:gmail.com⟩ for the Debian Project (and may be used by others).

From finit 4.12-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.