PROPHET/OS

NAME

logwrite: writes one line to /log/<category>, level info by default

SYNOPSIS

logwrite [-trace|-debug|-info|-warn|-error|-fatal] <category> <text...>

DESCRIPTION

Writes one line to /log/<category>, level info by default.

logwrite application/backup done in 3s

The category is a path, so a source can have its own file without anybody creating it first. loggerv is what actually writes; log hands the line over the channel.

It was called log until 2026-10-02. Reading the log is the more frequent grip, so log is the reader now (R10-TOOL-09).

EXAMPLE

$ logwrite --help
logwrite [-trace|-debug|-info|-warn|-error|-fatal] <category> <text...>
  writes one line to /log/<category>, default level info
  example: logwrite application/backup done in 3s

SEE ALSO

log, loggerv, logrotate, say