sysutils/cronolog-devel 1.7.2 FreeBSD
Web log rotation utility that provides datestamp filenames
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
8b79ada9a6- License
- APACHE10
- Categories
- sysutils
- Package size
- 22.8 KiB, 43.3 KiB installed
Description
"cronolog" is 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 a template and the current date and time.
"cronolog" is intended to be used in conjunction with a Web server, such as Apache to split the access log into daily or monthly logs. E.g.:
TransferLog "\|/www/sbin/cronolog /www/logs/%Y/%m/%d/access.log"
ErrorLog "\|/www/sbin/cronolog /www/logs/%Y/%m/%d/errors.log"
would instruct Apache to pipe its access and error log messages into separate copies of cronolog, which would create new log files each day in a directory hierarchy structured by date, i.e. on 31 December 1996 messages would be written to:
/www/logs/1996/12/31/access.log
/www/logs/1996/12/31/errors.log
After midnight the following files would be used:
/www/logs/1997/01/01/access.log
/www/logs/1997/01/01/errors.log
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/cronolog-devel | 1.7.2 |
| DragonFly | sysutils/cronolog-devel | 1.7.1_2 |
Install
Binary package:
pkg install cronolog-devel
From the ports tree:
cd /usr/ports/sysutils/cronolog-devel/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cronolog-devel>0:sysutils/cronolog-devel
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.7.2 | 1.7.2 | 1.7.1_1 | 1.7.2 | 1.7.2 |
| FreeBSD:14:quarterly | 1.7.2 | 1.7.2 | n/a | 1.7.1_2 | 1.7.2 |
| FreeBSD:15:latest | 1.7.2 | 1.7.2 | n/a | 1.7.2 | 1.7.2 |
| FreeBSD:15:quarterly | 1.7.2 | 1.7.2 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.7.2 | 1.7.2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Run dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- shebangfix
- Service scripts
- none
- Conflicts with
- cronolog
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| cronolog-1.7.2.tar.gz | 170460 | 52ce1733d09f58f20b8e5d204acbcda14ac56854e6ae390f15ed919e865b3b86 |
Master sites 1
- https://codeberg.org/BSDforge/cronolog/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/