#
267654 |
|
19-Jun-2014 |
gjb |
Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
267114 |
|
05-Jun-2014 |
bdrewery |
MFC r266463:
- Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by default for newsyslog(8).
Relnotes: yes Approved by: re (gjb)
|
#
245360 |
|
13-Jan-2013 |
markj |
MFC r244995 r244996 r244997.
MFC r244995: Fix a typo in an error message.
MFC r244996: Have -n imply -r, since dry-run mode obviously doesn't require root privileges.
MFC r244997: Make sure to update the mtime of a logfile after archiving it. This ensures that the next rotation happens at the correct time when using interval-based rotations.
Approved by: rstone (co-mentor)
|
#
225736 |
|
22-Sep-2011 |
kensmith |
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
Approved by: re (implicit)
|
#
219434 |
|
09-Mar-2011 |
ru |
Sync manpage's SYNOPSIS with program's usage.
|
#
218128 |
|
31-Jan-2011 |
mm |
Use correct alphabetical order for xz(1) in SEE ALSO section of newsyslog manpages.
Reported by: maxim MFC after: 3 weeks
|
#
218127 |
|
31-Jan-2011 |
mm |
Add xz(1) support to newsyslog. Rewrite and simplify logfile compression code.
Approved by: gad MFC after: 3 weeks
|
#
210407 |
|
23-Jul-2010 |
brian |
Add a -S switch to override the default syslog pid file. This can be useful if syslogd's -P switch or a syslogd alternative is being used.
MFC after: 3 weeks
|
#
210372 |
|
22-Jul-2010 |
simon |
Add support for creating the archived log filenames using a time-stamp instead of the traditional simple counter.
Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation.
This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles.
PR: bin/29363 MFC after: 3 weeks
|
#
208028 |
|
13-May-2010 |
uqs |
mdoc: move remaining sections into consistent order
This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.
Found by: mdocml lint run Reviewed by: ru
|
#
202668 |
|
19-Jan-2010 |
delphij |
Add a new option, -P, which reverts newsyslog(8) to the old behavior, which stops to proceed further, as it is possible that processes which fails to create PID file get screwed by rotation.
Requested by: stas MFC after: 2 weeks X-MFC with: r200806
|
#
147377 |
|
14-Jun-2005 |
ru |
Markup fixes.
Approved by: re (blanket)
|
#
143106 |
|
03-Mar-2005 |
brooks |
Add the -N option to not rotate any files. This is to be used in cojunction with -C and is used by /etc/rc.d/newsyslog.
I forgot that this was in my perforce tree and not my running system and thus committed a non-working newsyslog script.
Reported by: des Pointy hat: brooks
|
#
142365 |
|
24-Feb-2005 |
trhodes |
Add a HISTORY section.
PR: 75282
|
#
141846 |
|
13-Feb-2005 |
ru |
Expand *n't contractions.
|
#
140566 |
|
21-Jan-2005 |
ru |
Fixed xrefs.
|
#
140442 |
|
18-Jan-2005 |
ru |
Sort sections.
|
#
136127 |
|
04-Oct-2004 |
brooks |
Add a new -d argument which is used to specify an alternate root for log files similar to DESTDIR in the BSD make process. This only affects log file paths not config file (-f) or archive directory (-a) paths.
|
#
131500 |
|
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
#
126830 |
|
11-Mar-2004 |
trhodes |
Remove information about the configuration file. Add an Xref to newsyslog.conf.5 and bzip2.1.
|
#
114137 |
|
27-Apr-2003 |
gad |
Add a -C (create) option for newsyslog, and a 'C' flag for entries in the config file. If the -C option is specified once, then newsyslog will create any entries which specify the 'C' option. If -C is given twice, then newsyslog will create all missing log files. Some of this code comes from NetBSD, although this implementation does not exactly match theirs.
Reviewed by: freebsd-arch MFC after: 10 days
|
#
113988 |
|
24-Apr-2003 |
gad |
Document support for the new 'U' flag, which was implemented back in March as revision 1.64 of newsyslog.c. I plan to MFC these changes next week.
MFC after: 1 week
|
#
113952 |
|
23-Apr-2003 |
gad |
Document support for the new -s and -R command-line options, and the 'N' flag. These were coded in March as revisions 1.55 and 1.56 of newsyslog.c. I intend to MFC all the matching changes next week. This also reorganizes the description of the 'flags' field to give list of the valid flags, instead of a long paragraph explaining each of the possible values.
Obtained from: NetBSD (in spirit at least, for -s and N) MFC after: 1 week
|
#
113939 |
|
23-Apr-2003 |
gad |
Document support for the <default> entry, which was implemented in revision 1.50 of newsyslog.c , back in February. I intend to MFC those changes soon.
MFC after: 4 days
|
#
108317 |
|
27-Dec-2002 |
schweikh |
english(4) police.
|
#
107916 |
|
15-Dec-2002 |
sobomax |
Add a new `W' flag, that when used in conjunction with the `Z' flag or the `J' flag means that newsyslog should wait for previously started compression jobs to complete before starting a new one for this entry. When it is used along with the `G' flag, in the case when several logfiles match the pattern and should be compressed, the newsyslog will compress logs one by one, ensuring that only one compression job is running at a time.
This prevents newsyslog(8) from overloading system by starting several compression jobs on big files simultaneously.
Sponsored by: Porta Software Ltd MFC after: 2 weeks
|
#
107737 |
|
10-Dec-2002 |
sobomax |
- Allow comments to be placed at the end of configuration line.
Sponsored by: Porta Software Ltd Approved by: re MFC after: 2 weeks
|
#
107312 |
|
27-Nov-2002 |
ru |
mdoc(7) police: markup fixes.
Approved by: re
|
#
106905 |
|
14-Nov-2002 |
sobomax |
Add a new newsyslog.conf flag - 'G', which if set tells newsyslog(8) that the specified filename of the log to be rotated is in fact shell glob pattern. In this case, all files matching this pattern will be rotated using the same options. Useful in the case when there is no pre-defined name for the logfiles (e.g. xtradius, samba etc).
Sponsored by: PortaOne Software Ltd MFC after: 2 weeks
|
#
99968 |
|
14-Jul-2002 |
charnier |
The .Nm utility
|
#
80638 |
|
30-Jul-2001 |
obrien |
Add the ability to Bzip2 your logs.
PR: 27901 Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me)
|
#
79966 |
|
19-Jul-2001 |
wollman |
Note the equivalence of certain time formats.
|
#
79951 |
|
19-Jul-2001 |
dd |
Instead of giving an example of rotating logs at the end of the month, give an example of how to rotate logs at the beginning of the month. Although they sound the same, since both of them rotate logs at the beginning of the day, the former ended up taking place on, e.g., July 31 00:00 instead of the expected July 31 23:59. This is contraty to POLA.
Submitted by: Dan Langille <dan@langille.org>
|
#
79755 |
|
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
#
75079 |
|
02-Apr-2001 |
dd |
Fix a grammar bogon.
|
#
71898 |
|
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
#
68965 |
|
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
#
60373 |
|
11-May-2000 |
des |
Allow user to specify which logs to rotate
|
#
59004 |
|
04-Apr-2000 |
hm |
- implement logfile archivation to a separate, user configurable directory - implement alternate and more flexible way to specify logfile rotation time in addition to the ISO 8601 restricted format - cleanup the source which was a mix of several styles of persons who maintained it so far, ran through knfom script got from bde.
Reviewed by: (in part) sheldonh and garyj
|
#
57673 |
|
01-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
#
53760 |
|
27-Nov-1999 |
charnier |
.Nm corrections
|
#
50479 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
49146 |
|
28-Jul-1999 |
obrien |
Correctly refer to the companion program rather than as "chown". Clean up wording a little (like I have any idea what real English looks like...)
|
#
48295 |
|
28-Jun-1999 |
obrien |
Syntax for user/group is changed from "user.group" to "user:group" to be consistant with chown(8).
|
#
45547 |
|
10-Apr-1999 |
chuckr |
Fix description of size, it's in kilobytes, not bytes.
|
#
43356 |
|
28-Jan-1999 |
wollman |
jkoshy forgot up update the heading date on the man page.
|
#
43266 |
|
27-Jan-1999 |
jkoshy |
Note that the 'owner.group' field is optional in the config file.
PR: docs/9602 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
|
#
43071 |
|
22-Jan-1999 |
wollman |
A slight bit of code and doco cleanup, but mostly:
Add the much-needed and long-desired ability to force the log rotation to take place on a specific day or time, and document same. This works by extending the syntax of the `when' field to allow a restricted ISO 8601 time specification, and performing the log rotation if newsyslog is run during the same hour as is specified.
|
#
36817 |
|
09-Jun-1998 |
ache |
Add optional config file field: signal number to send (defaulted to HUP) F.e. apache restarts less agressively on USR1 then on HUP
|
#
35917 |
|
10-May-1998 |
hoek |
Arg! Someone fixed the synopsis in -stable's newsyslog.8, but not in -current. However, they fixed both the ordering and the missing -F flag. Merge from 22 and fix ordering here, too.
|
#
35914 |
|
10-May-1998 |
hoek |
1) Remove a line that somehow strayed from the one true path of its sentence. 2) Fix usage (-F option).
|
#
34809 |
|
23-Mar-1998 |
charnier |
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
|
#
34584 |
|
14-Mar-1998 |
pst |
Add "-F" (force) flag to newsyslog. Submitted by: Terry Lambert <terry@freebsd.org>
|
#
30160 |
|
06-Oct-1997 |
charnier |
Cosmetic in err() strings.
|
#
26826 |
|
23-Jun-1997 |
steve |
Show the real revision date and not the date that this manpage is being viewed.
|
#
25518 |
|
06-May-1997 |
brian |
Allow a '-' flag as a placeholder so that path_to_pid_file can be specified without the flags field. Fix bogus "trail" left in parse routine where the code jumps past the end of the line and wanders into oblivion.
|
#
25443 |
|
03-May-1997 |
ache |
1) Add yet one optional field: pid file to send SIGHUP to if log rotated (good thing for apache f.e.) This change is backward compatible with old newsyslog.conf files.
2) Do not compress log if SIGHUP sending failed for some reason (f.e. pid file deleted). Newcoming messages will be lost otherwise.
3) Misc cleanup while I am here.
|
#
23189 |
|
28-Feb-1997 |
mpp |
Add a missing period so that the -n option is display properly in the man page output. Closes PR# 2831.
Submitted by: Marc Slemko <marcs@znep.com>
|
#
22997 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
20772 |
|
21-Dec-1996 |
mpp |
Convert to mdoc format.
|
#
13245 |
|
05-Jan-1996 |
graichen |
This commit was generated by cvs2svn to compensate for changes in r13244, which included commits to RCS files with non-trunk default branches.
|
#
13244 |
|
05-Jan-1996 |
graichen |
Obtained from: NetBSD imported the newsyslog command from NetBSD - it make the "rotation" of the logfiles much simpler (it is currently done by "hand" in the /etc/[daily,weekly,monthly] scripts) - now it will be done by invoking newsyslog every hour which is very customizable via a /etc/newsyslog.conf file
|