summaryrefslogtreecommitdiffstats
path: root/etc/newsyslog.conf
Commit message (Collapse)AuthorAgeFilesLines
* - Update etc/rc.d/newsyslog to FreeBSD standards and install it.brooks2005-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.
* Style:mlaier2004-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)
* Add rc.d script to start pflogd and add rcvars etc. Also document vars inmlaier2004-04-021-0/+2
| | | | | | | rc.conf(5) and put a sample entry to newsyslog.conf Reviewed by: -current Approved by: bms(mentor)
* Fix typo in comments:fjoe2003-08-071-1/+1
| | | | | | /etc/syslogd.conf -> /etc/syslog.conf MFC after: 3 days
* Add the 'N' flag to the entries for three log files which are *not*gad2003-05-051-3/+3
| | | | | | written to by syslogd: /var/log/{daily.log,weekly.log,monthly.log} MFC after: 1 week
* Update the comments in this file to reflect the recent changes togad2003-05-051-1/+10
| | | | | | newsyslog. MFC after: 1 week
* Introduce debug.log which gets debug.* (most of this would otherwise godes2003-04-081-0/+1
| | | | to the great bit-bucket in the sky)
* Alphabetize.des2003-02-161-9/+9
|
* Rename the ftp log filename for compatability with OpenBSD and NetBSD.markm2002-09-211-1/+1
| | | | Requested by: ru
* Log ftpd stuff in the same way that we log lpd stuff. Too many ftpd'smarkm2002-09-201-0/+1
| | | | are attacked for us to throw away this sort of evidence.
* Use bzip2 instead of gzip for those logs we compress.obrien2002-09-121-15/+15
| | | | Basic idea agreed to by: rwatson
* Change the default permissions for the sendmail statistics file to 0640gshapiro2002-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
* Turns out everyone is a lot lazier than I thought. Spellrwatson2002-03-111-1/+1
| | | | | | | | | | 'authentication.log' as 'auth.log'. This is also more consistent with syslog facility names. Sigh. :-) Submitted by: asmodai, aeonflux, green, ....
* Clean up logging of security information a bit:rwatson2002-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.
* Use tabs where possible.obrien2001-12-011-11/+11
|
* Change maillog to have permissions of 640. Users shouldn't be able tojlemon2001-09-171-1/+1
| | | | eavesdrop on other users' communications.
* Allow group network to read ppp.log & slip.log.brian2001-09-031-2/+2
| | | | Suggested by: Jesper Skriver <jesper@FreeBSD.org>
* o Note that some sites will want to select generally more conservativerwatson2001-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.
* o More conservative permissions for kerberos.log: 600 instead of 644.rwatson2001-08-311-1/+1
| | | | Reviewed by: peter
* Document Bzip2's flag.obrien2001-07-301-1/+1
| | | | | PR: 27901 Submitted by: Anders Nordby <anders@fix.no> (stylistic changes by me)
* /var/log/console.log should be mode 600.phk2001-05-281-1/+1
| | | | | | PR: 25329 Submitted by: Yoshihiro Koya Yoshihiro.Koya@math.yokohama-cu.ac.jp MFC after: 1 week
* Log the console output to "/var/log/console.log", not "/var/log/console"phk2001-02-171-1/+1
| | | | (MFC candidate)
* o Introduce automated log rotation for /var/log/console, therwatson2001-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
* Another overhaul of the periodic stuff.brian2000-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
* Change various log file modes from mode 664 to 644. Allowing grouppeter2000-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
* Add two commented out syslog.conf entries, one to demonstrate the use ofrwatson2000-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
* Move /var/cron/log to /var/log/cronn_hibma1999-09-061-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* This is the addition of a syslog(3) security.* top-level category. Thisgreen1999-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
* Syntax for user/group is changed from "user.group" to "user:group" to beobrien1999-06-281-2/+2
| | | | consistant with chown(8).
* Fix minor alignment problem.obrien1999-06-281-2/+2
|
* Damn, forgot this: time -> when.ru1999-06-011-2/+2
|
* Sync header line with newsyslog(8).ru1999-06-011-3/+3
| | | | | PR: 11511 Reviewed by: des
* Now that newsyslog is capable of doing this at a specific time,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.)
* Indicate optional signal number fieldache1998-06-091-2/+2
|
* rotate sendmail statistics file weekly.jmb1998-04-141-1/+2
| | | | | keep the last ten weeks of data. Submitted by: jmb
* PR: 1708, 5448danny1998-02-091-2/+1
| | | | Remove wtmp
* Fix ppp log nameache1997-06-101-2/+2
|
* Not kill ppp now, it uses syslogache1997-06-101-2/+2
|
* Update ppp example pid_file name.brian1997-05-101-2/+2
| | | | Suggested by: ache
* Use newly introduced pid file field now for pppache1997-05-041-3/+3
|
* Revert $FreeBSD$ to $Id$peter1997-02-231-1/+1
|
* Change the header line to read "count" instead of "ngen" sompp1997-02-051-10/+10
| | | | | | that it matched the terms used in the manual page. Closes PR# 2663.
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-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.
* Add /var/log/ppp.log from iij ppppst1996-06-221-1/+2
|
* added the "-p" option to amd so that it writes it's pid tograichen1996-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
* Put startslip syslog messages into separate fileache1996-01-071-5/+6
| | | | | Increase rotating log sizes in newsyslog.conf to reflect more common case
* Restore broken accounting statistics:ache1996-01-061-2/+1
| | | | | 1) It have nothing common to (new)syslog messages 2) acct.* rotating allowed only after "sa -s" run!
* /var/account/acct is binary file, mark this fact as 'B' flagache1996-01-061-2/+2
|
* added the file /etc/newsyslog.conf (config file forgraichen1996-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
OpenPOWER on IntegriCloud