sysutils/cronolog 1.6.2_7 FreeBSD
Web log rotation utility that provides datestamp filenames
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv2
- Categories
- sysutils
- Package size
- 28.0 KiB, 57.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 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 | 1.6.2_7 |
| OpenBSD | www/cronolog | 1.6.2p0 |
| NetBSD | www/cronolog | 1.6.2nb11 |
| DragonFly | sysutils/cronolog | 1.6.2_7 |
Install
Binary package:
pkg install cronolog
From the ports tree:
cd /usr/ports/sysutils/cronolog/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= cronolog>0:sysutils/cronolog
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.6.2_7 | 1.6.2_7 | 1.6.2_6 | 1.6.2_7 | 1.6.2_7 |
| FreeBSD:14:quarterly | 1.6.2_7 | 1.6.2_7 | n/a | 1.6.2_7 | 1.6.2_7 |
| FreeBSD:15:latest | 1.6.2_7 | 1.6.2_7 | n/a | 1.6.2_7 | 1.6.2_7 |
| FreeBSD:15:quarterly | 1.6.2_7 | 1.6.2_7 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.6.2_7 | 1.6.2_7 | 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
Options name: sysutils_cronolog
| Option | Default | Description |
|---|---|---|
| SETUID_PATCH | on | Build with setuid functionality |
- Service scripts
- none
- Conflicts with
- cronolog-devel
Message after installing
Files
Manual pages 2
- cronolog(1)
- cronosplit(1)
pkg-plist 4
- sbin/cronolog
- sbin/cronosplit
- share/man/man1/cronolog.1m.gz
- share/man/man1/cronosplit.1m.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| fordmason-cronolog-1.6.2-8ea64c0_GH0.tar.gz | 131271 | 1270ab6b55d5ff10eaa9b29e4c8afd127748f7a6797290ff89febb5eaa7a9030 |
Commit history 0
No commits in the history this site was built from.