How to Install cronolog in Ubuntu 18.04

Install cronolog by entering the following commands in the terminal:

sudo apt update
sudo apt install cronolog


Logfile rotator for web servers

A simple program that reads log messages from its input and writes them to a set of output files, the names of which are constructed using template and the current date and time. The template uses the same format specifiers as the Unix date command (which are the same as the standard C strftime library function). . It intended to be used in conjunction with a Web server, such as Apache, to split the access log into daily or monthly logs: . TransferLog "|/usr/bin/cronolog /var/log/apache/%Y/access.%Y.%m.%d.log" . A cronosplit script is also included, to convert existing traditionally-rotated logs into this rotation format.


Version: 1.6.2+rpk-1ubuntu2

Section: universe/web