Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 1999 17:44:53 -0500 (EST)
From:      sjr@home.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/9292: Cron's logs in different place
Message-ID:  <199901032244.RAA01399@istari.home.net>

next in thread | raw e-mail | index | archive | help


>Number:         9292
>Category:       bin
>Synopsis:       Cron's logs are in /var/cron, not /var/log
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan  3 14:50:01 PST 1999
>Closed-Date:
>Last-Modified:
>Originator:     Stephen J. Roznowski
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:

	

>Description:

	Cron places its log files in /var/cron/log, not /var/log/cron.
	This seems inconsistent.

	This appears to be a similiar report as conf/7682 describes.

>How-To-Repeat:

	

>Fix:

	This patch changes the location of the cron log files.

--- newsyslog.conf.orig	Tue Jun  9 14:26:16 1998
+++ newsyslog.conf	Sun Jan  3 17:36:20 1999
@@ -2,7 +2,7 @@
 # $Id: newsyslog.conf,v 1.16 1998/06/09 18:26:16 ache Exp $
 #
 # logfilename           owner.group     mode count size time [ZB] [/pid_file] [sig_num]
-/var/cron/log				600  3	   100  *     Z
+/var/log/cron				600  3	   100  *     Z
 /var/log/amd.log			664  7	   100  *     Z
 /var/log/kerberos.log			664  7	   100  *     Z
 /var/log/lpd-errs			664  7	   100  *     Z
--- syslog.conf.orig	Wed Oct 14 17:59:55 1998
+++ syslog.conf	Sun Jan  3 17:36:06 1999
@@ -6,7 +6,7 @@
 *.notice;kern.debug;lpr.info;mail.crit;news.err	/var/log/messages
 mail.info					/var/log/maillog
 lpr.info					/var/log/lpd-errs
-cron.*						/var/cron/log
+cron.*						/var/log/cron
 *.err						root
 *.notice;news.err				root
 *.alert						root
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901032244.RAA01399>