xref: /freebsd/release/packages/ucl/newsyslog-all.ucl (revision df21a004be237a1dccd03c7b47254625eea62fa9)
1/*
2 * SPDX-License-Identifier: ISC
3 *
4 * Copyright (c) 2025 Lexi Winter <ivy@FreeBSD.org>
5 *
6 * Permission to use, copy, modify, and distribute this software for any
7 * purpose with or without fee is hereby granted, provided that the above
8 * copyright notice and this permission notice appear in all copies.
9 *
10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17 */
18
19comment = "Create and rotate system log files"
20
21desc = <<EOD
22The newsyslog(8) utility, usually run automatically from cron(8), is used to
23create log files in /var/log and periodically rotate existing log files.
24
25By default, newsyslog will rotate the log files used by the syslogd(8) daemon,
26but it can be configured to rotate any user-configured logfile based on a set
27of rules defined in its configuration file.
28EOD
29
30annotations {
31	set = "minimal,minimal-jail"
32}
33