BSD Ports

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

SystemPortVersion
FreeBSDsysutils/cronolog1.6.2_7
OpenBSDwww/cronolog1.6.2p0
NetBSDwww/cronolog1.6.2nb11
DragonFlysysutils/cronolog1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.6.2_71.6.2_71.6.2_61.6.2_71.6.2_7
FreeBSD:14:quarterly1.6.2_71.6.2_7n/a1.6.2_71.6.2_7
FreeBSD:15:latest1.6.2_71.6.2_7n/a1.6.2_71.6.2_7
FreeBSD:15:quarterly1.6.2_71.6.2_7n/an/an/a
FreeBSD:16:latest1.6.2_71.6.2_7n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/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

OptionDefaultDescription
SETUID_PATCHonBuild with setuid functionality
Service scripts
none
Conflicts with
cronolog-devel

Message after installing

===>   NOTICE:

The cronolog port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

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
FileSizeSHA256
fordmason-cronolog-1.6.2-8ea64c0_GH0.tar.gz1312711270ab6b55d5ff10eaa9b29e4c8afd127748f7a6797290ff89febb5eaa7a9030

Commit history 0

No commits in the history this site was built from.