#
1f78bbb5 |
| 01-Nov-2024 |
K Rin <rin@sandb0x.tw> |
newsyslog.conf(5): Accept human unit suffix in the size filed
MFC after: 1 week Pull Request: https://github.com/freebsd/freebsd-src/pull/1505
|
#
c7c3ef89 |
| 02-Nov-2024 |
Graham Percival <gperciva@tarsnap.com> |
manuals: Remove trailing spaces
This does not change the rendered ascii at all.
Signed-off-by: Graham Percival <gperciva@tarsnap.com> Reviewed by: mhorne, Alexander Ziaee <concussious.bugzilla@runb
manuals: Remove trailing spaces
This does not change the rendered ascii at all.
Signed-off-by: Graham Percival <gperciva@tarsnap.com> Reviewed by: mhorne, Alexander Ziaee <concussious.bugzilla@runbox.com> MFC after: 3 days Sponsored by: Tarsnap Backup Inc. Pull Request: https://github.com/freebsd/freebsd-src/pull/1473
show more ...
|
Revision tags: release/13.4.0, release/14.1.0 |
|
#
a8f86ecd |
| 25-May-2024 |
Joshua Kinard <freebsd@kumba.dev> |
newsyslog: Fix case of the 'P' flag in newsyslog.conf(5)
PR: 279303 Reviewed-by: emaste Signed-off-by: Joshua Kinard <freebsd@kumba.dev>
|
Revision tags: release/13.3.0 |
|
#
61174ad8 |
| 25-Dec-2023 |
Xin LI <delphij@FreeBSD.org> |
newsyslog(8): Add support of specifying compression method in configuration file.
Administrators can now specify a global compression method directly at the beginning of the newsyslog.conf file, for
newsyslog(8): Add support of specifying compression method in configuration file.
Administrators can now specify a global compression method directly at the beginning of the newsyslog.conf file, for example:
<compress> none
Relnotes: yes Reviewed by: dvl MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43174
show more ...
|
#
906748d2 |
| 23-Dec-2023 |
Xin LI <delphij@FreeBSD.org> |
newsyslog(8): Add option to globally override compression method.
Historically, newsyslog compressed rotated log files to save disk space. This was useful in the early days. However, with modern fil
newsyslog(8): Add option to globally override compression method.
Historically, newsyslog compressed rotated log files to save disk space. This was useful in the early days. However, with modern file systems like ZFS offering native compression, and with the availability of larger hard drives, the benefits of additional compression have become less significant. This is particularly true considering the inconvenience of decompressing log files when searching for specific patterns.
Additionally, the original implementation of compression methods was not future-proof. As a result, we have redefined the J, X, Y, Z flags to signify "treat the file as compressible" rather than "compress the file with that specific method."
A new command-line option, -c, has been introduced to allow overriding these settings in a more future-proof way. The available choices are:
* none - do not compress, regardless of flag. * legacy - historical behavior: J=bzip2, X=xz, Y=zstd, Z=gzip. * bzip2, xz, zstd, gzip - apply the specified compression method.
Currently, the default is set to 'legacy' to preserve historical behavior. However, our intention is to change this default to 'none' in FreeBSD 15.0.
Additionally, this update changes the default settings for zstd to use multithreading and long-range options, better aligning with its intended use.
Inspired by D42961 .
Reviewed by: debdrup (earlier version, mdoc(7)) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43165
show more ...
|
#
8a7b6120 |
| 23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a p
usr.sbin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script.
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
b2c76c41 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line nroff pattern
Remove /^\.\\"\s*\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
#
774bb1c2 |
| 02-Jun-2021 |
Ceri Davies <ceri@FreeBSD.org> |
periodic: add support for .xz and .zcat compressed logs
Also improve temporary file usage in 200.accounting, add an xref to zstd(1) to newsyslog.conf.5, and clarify in periodic.conf that "daily acco
periodic: add support for .xz and .zcat compressed logs
Also improve temporary file usage in 200.accounting, add an xref to zstd(1) to newsyslog.conf.5, and clarify in periodic.conf that "daily accounting" means process accounting and "monthly accounting" is login accounting.
PR: 253868 Reviewed by: allanjude Approved by: blackend (mentor) Differential Revision: https://reviews.freebsd.org/D29267
show more ...
|
Revision tags: release/13.0.0 |
|
#
c7d27b22 |
| 28-Feb-2021 |
Juraj Lutter <otis@FreeBSD.org> |
newsyslog(8): Implement a new 'E' flag to not rotate empty log files
Based on an idea from dvl's coworker, László DANIELISZ, implement a new flag, 'E', that prevents newsyslog(8) from rotating the e
newsyslog(8): Implement a new 'E' flag to not rotate empty log files
Based on an idea from dvl's coworker, László DANIELISZ, implement a new flag, 'E', that prevents newsyslog(8) from rotating the empty log files. This 'E' flag ist mostly usable in conjunction with 'B' flag that instructs newsyslog(8) to not insert an informational message into the log file after rotation, keeping it still empty.
Reviewed by: markj, ian, manpages (rpokala) Approved by: markj, ian, manpages (rpokala) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D28940
show more ...
|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
7847e041 |
| 24-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r338026 through r338297, and resolve conflicts.
|
#
c657f938 |
| 22-Aug-2018 |
Conrad Meyer <cem@FreeBSD.org> |
newsyslog(8): Reject configurations that specify setuid or executable logs
Prevent some classes of foot-shooting that may result in permissions problems.
Reviewed by: dab, delphij, vangyzen (earlie
newsyslog(8): Reject configurations that specify setuid or executable logs
Prevent some classes of foot-shooting that may result in permissions problems.
Reviewed by: dab, delphij, vangyzen (earlier version) Relnotes: yes (behavior change) Sponsored by: Dell EMC Isilon Differential Revision: D16831
show more ...
|
Revision tags: release/11.2.0 |
|
#
7de32ca3 |
| 16-Jan-2018 |
John Baldwin <jhb@FreeBSD.org> |
Sort the list of flags in newsyslog.conf entries.
Move the 'X' and 'Y' entries into their sorted location in the list of flags just above 'Z'.
Reviewed by: bcr MFC after: 1 week Differential Revisi
Sort the list of flags in newsyslog.conf entries.
Move the 'X' and 'Y' entries into their sorted location in the list of flags just above 'Z'.
Reviewed by: bcr MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D13904
show more ...
|
#
4b49587c |
| 06-Jan-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r327341 through r327623.
|
#
df76ac99 |
| 31-Dec-2017 |
Eitan Adler <eadler@FreeBSD.org> |
newsyslog: implement 'p' flag
Implement the 'p' flag for newsyslog from NetBSD. This flag results in the first log file for a given file to not be compressed.
While here, don't change file attribut
newsyslog: implement 'p' flag
Implement the 'p' flag for newsyslog from NetBSD. This flag results in the first log file for a given file to not be compressed.
While here, don't change file attributes during a no-op run
PR: 162798 Submitted by: heas@shrubbery.net MFC After: 1 month
show more ...
|
Revision tags: release/10.4.0, release/11.1.0 |
|
#
d02c951f |
| 26-May-2017 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r318658 through r318963.
|
#
b326fec4 |
| 26-May-2017 |
David Bright <dab@FreeBSD.org> |
Add newsyslog capability to write RFC5424 compliant rotation message.
This modification adds the capability to newsyslog to write the rotation message in a format that is compliant with RFC5424. Thi
Add newsyslog capability to write RFC5424 compliant rotation message.
This modification adds the capability to newsyslog to write the rotation message in a format that is compliant with RFC5424. This capability is enabled on a per-log file basis through a new value ("T") in the flags field in newsyslog.conf. This is useful on systems that use the RFC5424 format for log files so that the rotation message format matches that of the other log messages. There has been recent mention of adding an RFC5424 compliant mode to syslogd and at least one alternative system log daemon (rsyslogd) that already has the capability to use that format.
Reviewed by: vangyzen, ngie Approved by: vangyzen (mentor) MFC after: 2 months Relnotes: yes Sponsored by: Dell EMC Differential Revision: https://reviews.freebsd.org/D10253
show more ...
|
#
1af6dc18 |
| 15-Apr-2017 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Add a new Y flag to newsyslog.conf
This makes newsyslog use zstandard to compress log files.
Given Z is already taken for gzip and zstandard compression level stands in between gzip and xz (which h
Add a new Y flag to newsyslog.conf
This makes newsyslog use zstandard to compress log files.
Given Z is already taken for gzip and zstandard compression level stands in between gzip and xz (which has the X flag) chosing Y sounds ok :)
show more ...
|
Revision tags: release/11.0.1, release/11.0.0, release/10.3.0 |
|
#
b626f5a7 |
| 04-Jan-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH r289384-r293170
Sponsored by: The FreeBSD Foundation
|
#
a5d8944a |
| 19-Nov-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with head (r291075).
|
#
3c3feed4 |
| 01-Nov-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
11d38a57 |
| 28-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
Sponsored by: Gandi.net
|
#
c91d99bf |
| 24-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
newsyslog.conf: allow to configure the signal using the signal name.
Submitted by: Alexandre Perrin <alex@kaworu.ch> MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.or
newsyslog.conf: allow to configure the signal using the signal name.
Submitted by: Alexandre Perrin <alex@kaworu.ch> MFC after: 1 week Relnotes: yes Differential Revision: https://reviews.freebsd.org/D3961
show more ...
|
Revision tags: release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0 |
|
#
23090366 |
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
#
de720122 |
| 15-Jul-2012 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r236710 through r238467.
|
#
6cf87ec8 |
| 13-Jul-2012 |
Xin LI <delphij@FreeBSD.org> |
IFC @238412.
|