aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/newsyslog/newsyslog.c
Commit message (Expand)AuthorAgeFilesLines
* newsyslog(8): Implement a new 'E' flag to not rotate empty log filesJuraj Lutter2021-05-231-1/+10
* MFC r362233: newsyslog(8): make configuration parser more robust.Eugene Grosbein2020-07-151-23/+31
* MFC r344470:David Bright2019-03-071-8/+8
* MFC r336086:Ed Schouten2018-08-271-10/+14
* MFC r337323:Mark Johnston2018-08-071-2/+1
* MFC r327451:Eitan Adler2018-01-301-8/+24
* MFC r318960,r319545,r319546,r319548,r321261:Enji Cooper2017-07-201-11/+46
* newsyslog: Eliminate unnecessary sleep(10) when -R and -s are specifiedEric van Gyzen2016-06-061-7/+9
* newsyslog: treat 'c' flag in the config as 'C'Baptiste Daroussin2015-10-311-14/+0
* newsyslog.conf: allow to configure the signal using the signal name.Baptiste Daroussin2015-10-241-11/+34
* Fix a ton of speelling errorsEitan Adler2015-10-211-1/+1
* If we fail to send a signal after rotation, print the pidfile from whichMark Johnston2014-10-081-2/+2
* Fix newsyslog(8) to use the size of the file instead of the blocks itBryan Drewery2014-02-021-1/+1
* Initialize the struct tm before handing it to strptime(3).Mark Johnston2013-11-041-0/+1
* Fix -WunsequencedTim Kientzle2013-06-291-10/+10
* We want to stat the archived log file rather than the logfile itself.Mark Johnston2013-06-021-1/+1
* Some filesystems (NFS in particular) do not fill out the d_type field whenMark Johnston2013-05-121-6/+17
* Fix interval-based rotations when the -t flag is used. In this case, findMark Johnston2013-03-261-58/+134
* Rename the run_cmd field to sw_runcmd to make it consistent with theMark Johnston2013-01-271-7/+7
* Ensure that newsyslog -n prints the correct message for a rotation ruleMark Johnston2013-01-271-4/+9
* When the 'R' flag is used with a newsyslog.conf entry, some fields ofMark Johnston2013-01-271-1/+3
* Make sure to update the mtime of a logfile after archiving it. ThisMark Johnston2013-01-031-0/+9
* Have -n imply -r, since dry-run mode obviously doesn't require rootMark Johnston2013-01-031-1/+1
* Fix a typo in an error message.Mark Johnston2013-01-031-1/+1
* More -Wmissing-variable-declarations fixes.Ed Schouten2012-10-201-21/+23
* We don't need to check the result of sending signal when -R option isAndrey V. Elsukov2012-07-091-1/+2
* Hide DIR definition by making it an opaque struct typedef.Gleb Kurtsou2012-05-191-3/+3
* Don't run through time checks when entry is definitely oversized. ThisGleb Smirnoff2012-03-211-2/+5
* Further fix a typo and spelling classic correctly in function names,Ulrich Spörlein2012-01-051-8/+8
* Replace index() and rindex() calls with strchr() and strrchr().Ed Schouten2012-01-031-4/+4
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-301-2/+2
* - Remove extraneous null ptr deref checksEitan Adler2011-12-211-1/+2
* Add new modifier - "R", when it is specified the path to pid fileMaxim Sobolev2011-05-141-30/+61
* Fix an old bug in newsyslog where we kept one log file more than wasSimon L. B. Nielsen2011-04-211-31/+59
* Sync manpage's SYNOPSIS with program's usage.Ruslan Ermilov2011-03-091-2/+2
* Make code more friendly to the non-C99 compilers - don't allocateMaxim Sobolev2011-02-221-4/+8
* Add xz(1) support to newsyslog.Martin Matuska2011-01-311-93/+121
* Make -S functional.Brian Somers2010-12-311-1/+1
* Fix a typo in a comment.Simon L. B. Nielsen2010-11-211-1/+1
* Add a -S switch to override the default syslog pid file. This can be usefulBrian Somers2010-07-231-2/+7
* Add support for creating the archived log filenames using a time-stampSimon L. B. Nielsen2010-07-221-16/+236
* Add file include processing for newsyslog.Gordon Tetlow2010-05-291-17/+109
* Convert newsyslog to using queue(3) macros instead of a home rolled version.Gordon Tetlow2010-05-291-113/+71
* Add a new option, -P, which reverts newsyslog(8) to the old behavior,Xin LI2010-01-201-3/+7
* Don't consider non-existence of a PID file an error, we should be ableXin LI2009-12-211-1/+12
* Fix two typos.Xin LI2008-01-301-2/+2
* Use same signedness for i and matched_c. This should makeXin LI2006-08-171-1/+2
* Remove mention of the `W' flag, which has been turned to no-op by theMaxim Sobolev2006-07-211-3/+1
* Remove the last three calls to strncpy(), two of which would haveGarance A Drosehn2006-06-271-6/+6
* Remove the "oldorder" processing. The "neworder" processing hasGarance A Drosehn2006-06-271-250/+16