From krb5-bugs-incoming-bounces@PCH.MIT.EDU Fri Sep 12 12:14:08 2008
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.12.9) with ESMTP
id m8CGE8o4011376; Fri, 12 Sep 2008 12:14:08 -0400 (EDT)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
by pch.mit.edu (8.13.6/8.12.8) with ESMTP id m8CGE3sE026763;
Fri, 12 Sep 2008 12:14:03 -0400
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU
[18.7.21.83])
by pch.mit.edu (8.13.6/8.12.8) with ESMTP id m8CFjKqV020322
for <krb5-bugs-incoming@PCH.mit.edu>; Fri, 12 Sep 2008 11:45:20 -0400
Received: from mit.edu (W92-130-BARRACUDA-3.MIT.EDU [18.7.21.224])
by pacific-carrier-annex.mit.edu (8.13.6/8.9.2) with ESMTP id
m8CFj8At024467
for <krb5-bugs@mit.edu>; Fri, 12 Sep 2008 11:45:09 -0400 (EDT)
Received: from spam.ifs.umich.edu (spam.ifs.umich.edu [141.211.1.36])
(using TLSv1 with cipher AES256-SHA (256/256 bits))
(No client certificate requested)
by mit.edu (Spam Firewall) with ESMTP id 44B911104A55
for <krb5-bugs@mit.edu>; Fri, 12 Sep 2008 11:44:48 -0400 (EDT)
Received: from root by spam.ifs.umich.edu with local (Exim 4.69)
(envelope-from <mdw@umich.edu>)
id 1KeApD-0005uL-MM; Fri, 12 Sep 2008 11:44:47 -0400
To: krb5-bugs@mit.edu
Subject: expand logfile names using strftime.
From: mdw@umich.edu
X-send-pr-version: 3.99
Message-Id: <E1KeApD-0005uL-MM@spam.ifs.umich.edu>
Date: Fri, 12 Sep 2008 11:44:47 -0400
X-Spam-Score: 0.55
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
X-Mailman-Approved-At: Fri, 12 Sep 2008 12:14:01 -0400
Cc: kwc@umich.edu, vpliakas@umich.edu, mdw@umich.edu
X-BeenThere: krb5-bugs-incoming@mailman.mit.edu
X-Mailman-Version: 2.1.6
Precedence: list
Reply-To: mdw@umich.edu
Sender: krb5-bugs-incoming-bounces@PCH.MIT.EDU
Errors-To: krb5-bugs-incoming-bounces@PCH.MIT.EDU
System: Linux strawdogs.ifs.umich.edu 2.6.23.1 #3 SMP Tue Oct 23 11:37:43 EDT 2007 i686 GNU/Linux
Architecture: i686
logfile names. Currently, we have hard-coded logic
in kerberos to construct filenames of the form
<utility>.log.YYYYMMDD . This is obviously very site
specific, yet we'd rather not maintain site specific logic.
It would be nice if log file names could be expanded via strftime.
the same log file.
/afs/umich.edu/group/itd/build/mdw/krb5.15x/patches/krb5-1.6.3-logts2.patch
configure with new --enable-logfile-by-date .
Change krb5.conf [logging] stanza, log file lines
to read like: FILE:/var/log/krb5kdc.log.%Y%m%d .
Restart daemons. Now see new style logfile names.
Received: from pch.mit.edu (PCH.MIT.EDU [18.7.21.90]) by krbdev.mit.edu (8.12.9) with ESMTP
id m8CGE8o4011376; Fri, 12 Sep 2008 12:14:08 -0400 (EDT)
Received: from pch.mit.edu (pch.mit.edu [127.0.0.1])
by pch.mit.edu (8.13.6/8.12.8) with ESMTP id m8CGE3sE026763;
Fri, 12 Sep 2008 12:14:03 -0400
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU
[18.7.21.83])
by pch.mit.edu (8.13.6/8.12.8) with ESMTP id m8CFjKqV020322
for <krb5-bugs-incoming@PCH.mit.edu>; Fri, 12 Sep 2008 11:45:20 -0400
Received: from mit.edu (W92-130-BARRACUDA-3.MIT.EDU [18.7.21.224])
by pacific-carrier-annex.mit.edu (8.13.6/8.9.2) with ESMTP id
m8CFj8At024467
for <krb5-bugs@mit.edu>; Fri, 12 Sep 2008 11:45:09 -0400 (EDT)
Received: from spam.ifs.umich.edu (spam.ifs.umich.edu [141.211.1.36])
(using TLSv1 with cipher AES256-SHA (256/256 bits))
(No client certificate requested)
by mit.edu (Spam Firewall) with ESMTP id 44B911104A55
for <krb5-bugs@mit.edu>; Fri, 12 Sep 2008 11:44:48 -0400 (EDT)
Received: from root by spam.ifs.umich.edu with local (Exim 4.69)
(envelope-from <mdw@umich.edu>)
id 1KeApD-0005uL-MM; Fri, 12 Sep 2008 11:44:47 -0400
To: krb5-bugs@mit.edu
Subject: expand logfile names using strftime.
From: mdw@umich.edu
X-send-pr-version: 3.99
Message-Id: <E1KeApD-0005uL-MM@spam.ifs.umich.edu>
Date: Fri, 12 Sep 2008 11:44:47 -0400
X-Spam-Score: 0.55
X-Spam-Flag: NO
X-Scanned-By: MIMEDefang 2.42
X-Mailman-Approved-At: Fri, 12 Sep 2008 12:14:01 -0400
Cc: kwc@umich.edu, vpliakas@umich.edu, mdw@umich.edu
X-BeenThere: krb5-bugs-incoming@mailman.mit.edu
X-Mailman-Version: 2.1.6
Precedence: list
Reply-To: mdw@umich.edu
Sender: krb5-bugs-incoming-bounces@PCH.MIT.EDU
Errors-To: krb5-bugs-incoming-bounces@PCH.MIT.EDU
Show quoted text
>Submitter-Id: net
>Originator: mdw@umich.edu
>Organization:
University of Michigan>Originator: mdw@umich.edu
>Organization:
Show quoted text
>Confidential: no
>Synopsis: expand logfile names with strftime
>Severity: non-critical
>Priority: low
>Category: krb5-admin
>Class: change-request
>Release: 1.6.3
>Environment:
dell pe1750 running umce linux, krb5 1.6.3+patches>Synopsis: expand logfile names with strftime
>Severity: non-critical
>Priority: low
>Category: krb5-admin
>Class: change-request
>Release: 1.6.3
>Environment:
System: Linux strawdogs.ifs.umich.edu 2.6.23.1 #3 SMP Tue Oct 23 11:37:43 EDT 2007 i686 GNU/Linux
Architecture: i686
Show quoted text
>Description:
At umich.edu, we have a convention of using timestamps inlogfile names. Currently, we have hard-coded logic
in kerberos to construct filenames of the form
<utility>.log.YYYYMMDD . This is obviously very site
specific, yet we'd rather not maintain site specific logic.
It would be nice if log file names could be expanded via strftime.
Show quoted text
>How-To-Repeat:
Run any kerberos daemon more than once. Watch it reusethe same log file.
Show quoted text
>Fix:
Compile-time fix, apply the patch in/afs/umich.edu/group/itd/build/mdw/krb5.15x/patches/krb5-1.6.3-logts2.patch
configure with new --enable-logfile-by-date .
Change krb5.conf [logging] stanza, log file lines
to read like: FILE:/var/log/krb5kdc.log.%Y%m%d .
Restart daemons. Now see new style logfile names.