How to Install and Uninstall logtail Package on Ubuntu 21.10 (Impish Indri)

Last updated: May 18,2024

1. Install "logtail" package

Learn how to install logtail on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install logtail

2. Uninstall "logtail" package

Please follow the guidance below to uninstall logtail on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove logtail $ sudo apt autoclean && sudo apt autoremove

3. Information about the logtail package on Ubuntu 21.10 (Impish Indri)

Package: logtail
Architecture: all
Version: 1.3.23
Priority: optional
Section: admin
Source: logcheck
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian logcheck Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 86
Depends: perl (>= 5.8.0)
Filename: pool/main/l/logcheck/logtail_1.3.23_all.deb
Size: 14436
MD5sum: 866106e93842fc8f4ef4aaaa217964d7
SHA1: ab55ceb9c0e23d5a4c8950897f1c4070bf1ce59e
SHA256: 95c37e81c8b25f209e59aee171d65589438a4c39e1529c88202fcb02519f1b01
SHA512: 68ade63d763c0fca13ae0956d9b72d7a125689811b46426eb83c387ce29e3950a1c7da82c5939d9aafc157f3fbc162a8c92adbfc73190e9070710dd753bd4284
Description-en: Print log file lines that have not been read
This program will read in a standard text file and create an
offset marker when it reads the end. The offset marker is read
the next time logtail is run and the text file pointer is moved
to the offset location. This allows logtail to read in the next
lines of data following the marker. This is good for marking log
files for automatic log file checkers to monitor system events.
.
The package also provides logtail2, which better deals with rotated log
files: If logtail2 finds that the inode of the file was changed, it assumes
that the log has been rotated, and tries to find the file it was rotated to
using heuristic plugins. If it finds the file, it will print the remainder of
the file starting at the offset saved to the offset file. If a file with the
correct inode was not found, logtail2 will only print the new file in its
entirety before writing a new offset file.
Description-md5: d3d40f9e26c6029e962576fe56693f04