Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


multilog

Multilog - log rotating stdout

Example log P1 smart meter date log rotated logs.

  • s1048576 rotate at 1MB
  • n100 keep 100 files
apt-get install daemontools
/usr/local/bin/serialWatch.exp ttyUSB0 | multilog s1048576 n100 /mnt/ram/p1data
multilog.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1