aboutsummaryrefslogtreecommitdiff
path: root/etc/newsyslog.conf
Commit message (Collapse)AuthorAgeFilesLines
* - Update etc/rc.d/newsyslog to FreeBSD standards and install it.Brooks Davis2005-03-021-10/+10
| | | | | | | | | | | | | | | | | | | | - Enable it by default, running newsyslog with -CN which creates files that have the C flag specified in /etc/newsyslog.conf. - Remove the "newsyslog -CC" call from etc/rc.d/var and the check for newsyslog. - Add the C flag to entries in /etc/newsyslog.conf that are currently installed as part of the base system. There are two effects from this change: - Users who delete default syslog files to stop logging to them will need to set newsyslog_enable=NO in rc.conf or remove the C flag from those file in /etc/newsyslog.conf or they will come back on the next boot. - Diskless systems now create the same set of files that ordinary systems have by default instead of every file in newsyslog.conf. Notes: svn path=/head/; revision=142962
* Style:Max Laier2004-04-031-2/+1
| | | | | | | | | | | - do not comment out entries in newsyslog.conf - use tabs to line up inetd.conf Requested by: bde Approved by: bms(mentor) Notes: svn path=/head/; revision=127799
* Add rc.d script to start pflogd and add rcvars etc. Also document vars inMax Laier2004-04-021-0/+2
| | | | | | | | | | rc.conf(5) and put a sample entry to newsyslog.conf Reviewed by: -current Approved by: bms(mentor) Notes: svn path=/head/; revision=127759
* Fix typo in comments:Max Khon2003-08-071-1/+1
| | | | | | | | | /etc/syslogd.conf -> /etc/syslog.conf MFC after: 3 days Notes: svn path=/head/; revision=118637
* Add the 'N' flag to the entries for three log files which are *not*Garance A Drosehn2003-05-051-3/+3
| | | | | | | | | written to by syslogd: /var/log/{daily.log,weekly.log,monthly.log} MFC after: 1 week Notes: svn path=/head/; revision=114747
* Update the comments in this file to reflect the recent changes toGarance A Drosehn2003-05-051-1/+10
| | | | | | | | | newsyslog. MFC after: 1 week Notes: svn path=/head/; revision=114745
* Introduce debug.log which gets debug.* (most of this would otherwise goDag-Erling Smørgrav2003-04-081-0/+1
| | | | | | | to the great bit-bucket in the sky) Notes: svn path=/head/; revision=113259
* Alphabetize.Dag-Erling Smørgrav2003-02-161-9/+9
| | | | Notes: svn path=/head/; revision=110995
* Rename the ftp log filename for compatability with OpenBSD and NetBSD.Mark Murray2002-09-211-1/+1
| | | | | | | Requested by: ru Notes: svn path=/head/; revision=103738
* Log ftpd stuff in the same way that we log lpd stuff. Too many ftpd'sMark Murray2002-09-201-0/+1
| | | | | | | are attacked for us to throw away this sort of evidence. Notes: svn path=/head/; revision=103719
* Use bzip2 instead of gzip for those logs we compress.David E. O'Brien2002-09-121-15/+15
| | | | | | | Basic idea agreed to by: rwatson Notes: svn path=/head/; revision=103263
* Change the default permissions for the sendmail statistics file to 0640Gregory Neil Shapiro2002-05-241-1/+1
| | | | | | | | | | | instead of 0644 to help protect users against a file locking local denial of service. MFC after: 1 day pending RE approval Notes: svn path=/head/; revision=97199
* Turns out everyone is a lot lazier than I thought. SpellRobert Watson2002-03-111-1/+1
| | | | | | | | | | | | | 'authentication.log' as 'auth.log'. This is also more consistent with syslog facility names. Sigh. :-) Submitted by: asmodai, aeonflux, green, .... Notes: svn path=/head/; revision=92100
* Clean up logging of security information a bit:Robert Watson2002-03-111-0/+1
| | | | | | | | | | | | | | | | o Introduce /var/log/authentication.log, which will be the target for auth.info and authpriv.info by default. Rotate on the same schedule as most other logs. Create at installation. o Remove logging of auth.info from /var/log/security.log, which will return to being only for security feature subsystems (such as ipfw, and so on). This creates a special authentication log, which can now be searched by scripts for authentication events. Notes: svn path=/head/; revision=92099
* Use tabs where possible.David E. O'Brien2001-12-011-11/+11
| | | | Notes: svn path=/head/; revision=87170
* Change maillog to have permissions of 640. Users shouldn't be able toJonathan Lemon2001-09-171-1/+1
| | | | | | | eavesdrop on other users' communications. Notes: svn path=/head/; revision=83560
* Allow group network to read ppp.log & slip.log.Brian Somers2001-09-031-2/+2
| | | | | | | Suggested by: Jesper Skriver <jesper@FreeBSD.org> Notes: svn path=/head/; revision=82866
* o Note that some sites will want to select generally more conservativeRobert Watson2001-09-011-0/+6
| | | | | | | | | permissions on some files, and give hints as to what those permissions might be. Note also that the current more liberal permissions might get changed in future revisions. Notes: svn path=/head/; revision=82758
* o More conservative permissions for kerberos.log: 600 instead of 644.Robert Watson2001-08-311-1/+1
| | | | | | | Reviewed by: peter Notes: svn path=/head/; revision=82706
* Document Bzip2's flag.David E. O'Brien2001-07-301-1/+1
| | | | | | | | PR: 27901 Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me) Notes: svn path=/head/; revision=80639
* /var/log/console.log should be mode 600.Poul-Henning Kamp2001-05-281-1/+1
| | | | | | | | | PR: 25329 Submitted by: Yoshihiro Koya Yoshihiro.Koya@math.yokohama-cu.ac.jp MFC after: 1 week Notes: svn path=/head/; revision=77363
* Log the console output to "/var/log/console.log", not "/var/log/console"Poul-Henning Kamp2001-02-171-1/+1
| | | | | | | (MFC candidate) Notes: svn path=/head/; revision=72580
* o Introduce automated log rotation for /var/log/console, theRobert Watson2001-02-061-0/+1
| | | | | | | | | | | | | | default syslog target for console messages (when enabled in syslog.conf). Use the same rotation defaults as with /var/log/messages -- every 100kb of log, compress back logs, and keep five rotated logs. o Note: phk also thought it would be useful to force rotation each boot. This commit does not introduce such a rotation. Reviewed by: phk Notes: svn path=/head/; revision=72075
* Another overhaul of the periodic stuff.Brian Somers2000-09-141-0/+3
| | | | | | | | | | | | | | | | | | All periodic sub-scripts <larf> now have their return codes interpreted by periodic(8). Output may be masked based on variable values in periodic.conf. It's also now possible to email periodic output to arbitrary addresses, or to send it to a log file, examples of which can be found in newsyslog.conf. The upshot of it all should be no discernable changes to the default behaviour of periodic(8). PR: 21250 Notes: svn path=/head/; revision=65843
* Change various log file modes from mode 664 to 644. Allowing groupPeter Wemm2000-07-141-6/+6
| | | | | | | | | | | | | | wheel to trash logfiles is not exactly good security policy. There have been several gid wheel holes in ports. Various other files were changed as well (eg: the locate database were set to more restrictive modes (444) by their generation scripts) so this should be safe for them. utmp and wtmp are mode 644 already on all the systems we checked. Submitted by: jkb Reviewed by: kris Notes: svn path=/head/; revision=63097
* Add two commented out syslog.conf entries, one to demonstrate the use ofRobert Watson2000-02-081-1/+2
| | | | | | | | | | | | | | | | | an all.log for logging all messages, and one to demonstrate use of loghosts. Also, a matching entry in newsyslog.conf for all.log. Per request of Garrett Wollman, also modified the maillog entry to use the @T newsyslog time specification mechanism. Because newsyslog doesn't support the mod date specification machanism, couldn't change other entries that required more than one execution a month, but less than once a day. Approved by: jkh Reviewed by: freebsd-security Notes: svn path=/head/; revision=57065
* Move /var/cron/log to /var/log/cronNick Hibma1999-09-061-1/+1
| | | | Notes: svn path=/head/; revision=51033
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* This is the addition of a syslog(3) security.* top-level category. ThisBrian Feldman1999-08-211-1/+2
| | | | | | | | | | | | should be used from now on for anything security but not auth-related. Included are updates for all relevant manpages and also to /etc files, creating a new /var/log/security. Nothing in the system logs to /var/log/security yet as of the time of this commit. Reviewed by: rgrimes, imp, chris Notes: svn path=/head/; revision=50126
* Syntax for user/group is changed from "user.group" to "user:group" to beDavid E. O'Brien1999-06-281-2/+2
| | | | | | | consistant with chown(8). Notes: svn path=/head/; revision=48295
* Fix minor alignment problem.David E. O'Brien1999-06-281-2/+2
| | | | Notes: svn path=/head/; revision=48294
* Damn, forgot this: time -> when.Ruslan Ermilov1999-06-011-2/+2
| | | | Notes: svn path=/head/; revision=47665
* Sync header line with newsyslog(8).Ruslan Ermilov1999-06-011-3/+3
| | | | | | | | PR: 11511 Reviewed by: des Notes: svn path=/head/; revision=47662
* Now that newsyslog is capable of doing this at a specific time,Garrett Wollman1999-01-281-2/+3
| | | | | | | | | | let it rotate /var/log/wtmp again, and update monthly/200.accounting to take this into account. (Some sites might want to change the parameters of the rotation; it's easier to do this when it's all centralized in newsyslog.conf.) Notes: svn path=/head/; revision=43358
* Indicate optional signal number fieldAndrey A. Chernov1998-06-091-2/+2
| | | | Notes: svn path=/head/; revision=36818
* rotate sendmail statistics file weekly.Jonathan M. Bresler1998-04-141-1/+2
| | | | | | | | keep the last ten weeks of data. Submitted by: jmb Notes: svn path=/head/; revision=35199
* PR: 1708, 5448Daniel O'Callaghan1998-02-091-2/+1
| | | | | | | Remove wtmp Notes: svn path=/head/; revision=33188
* Fix ppp log nameAndrey A. Chernov1997-06-101-2/+2
| | | | Notes: svn path=/head/; revision=26548
* Not kill ppp now, it uses syslogAndrey A. Chernov1997-06-101-2/+2
| | | | Notes: svn path=/head/; revision=26547
* Update ppp example pid_file name.Brian Somers1997-05-101-2/+2
| | | | | | | Suggested by: ache Notes: svn path=/head/; revision=25645
* Use newly introduced pid file field now for pppAndrey A. Chernov1997-05-041-3/+3
| | | | Notes: svn path=/head/; revision=25446
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-231-1/+1
| | | | Notes: svn path=/head/; revision=23037
* Change the header line to read "count" instead of "ngen" soMike Pritchard1997-02-051-10/+10
| | | | | | | | | that it matched the terms used in the manual page. Closes PR# 2663. Notes: svn path=/head/; revision=22295
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | 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. Notes: svn path=/head/; revision=21673
* Add /var/log/ppp.log from iij pppPaul Traina1996-06-221-1/+2
| | | | Notes: svn path=/head/; revision=16596
* added the "-p" option to amd so that it writes it's pid toThomas Graichen1996-01-161-1/+2
| | | | | | | | | /var/run/amd.pid and added the "-l /var/log/amd.log" option there too added an entry for the "rotation" of /var/log/amd.log to newsyslog.conf Notes: svn path=/head/; revision=13455
* Put startslip syslog messages into separate fileAndrey A. Chernov1996-01-071-5/+6
| | | | | | | | Increase rotating log sizes in newsyslog.conf to reflect more common case Notes: svn path=/head/; revision=13296
* Restore broken accounting statistics:Andrey A. Chernov1996-01-061-2/+1
| | | | | | | | 1) It have nothing common to (new)syslog messages 2) acct.* rotating allowed only after "sa -s" run! Notes: svn path=/head/; revision=13286
* /var/account/acct is binary file, mark this fact as 'B' flagAndrey A. Chernov1996-01-061-2/+2
| | | | Notes: svn path=/head/; revision=13285
* added the file /etc/newsyslog.conf (config file forThomas Graichen1996-01-051-0/+11
/usr/sbin/newsyslog - see the man-page for it for details) - i put all the "rotations" which were in /etc/[daily,weekly,monthly] in here Notes: svn path=/head/; revision=13250