Skip to content

daemontools is a collection of tools for managing UNIX services. It monitors qmail services and saves error messages to one or more logs.

Notifications You must be signed in to change notification settings

sagredo-dev/daemontools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 

Repository files navigation

daemontools

daemontools is a collection of tools by D.J. Bernstein for managing UNIX services. It monitors qmail services and saves error messages to one or more logs.

multilog program with human readable datetime

The multilog program has been modified to work both with timestamps and human readable datetimes (commit)

  • the action t inserts an @, a precise timestamp, and a space in front of each line, using the same format as tai64n.

Example:

multilog t '-*' '+* fatal: *' ./main

prints the line

@400000003b4a39c23294b13c fatal: out of memory

  • the action d inserts a human readable datetime in front of each line.

Example:

multilog d '-*' '+* fatal: *' ./main

prints the line

2024-07-29 10:36:08.811661123 fatal: out of memory

Both flags are required to be the first action.

Other patches applied

Patches applied to the original djb daemontools-0.76:

  • errno patch
  • multilog_filesize_limit patch by Sam Tang, which extends the file log size limit to 100MB (default is 16MB).

You can find the patches applied in the src/patches directory.

More info and support

You can find more info and ask for support at https://notes.sagredo.eu/en/qmail-notes-185/daemontools-14.html

Post any comment there.

About

daemontools is a collection of tools for managing UNIX services. It monitors qmail services and saves error messages to one or more logs.

Topics

Resources

Stars

Watchers

Forks