You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Simon Burr <si...@uk.uu.net> on 1999/06/03 17:57:12 UTC

general/4523: Y2K problem in log_server_status script

>Number:         4523
>Category:       general
>Synopsis:       Y2K problem in log_server_status script
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jun  3 10:10:00 PDT 1999
>Last-Modified:
>Originator:     simonb@uk.uu.net
>Organization:
apache
>Release:        1.3.6
>Environment:
Any OS
>Description:
When log_server_status creates its output it uses a two-digit year. The file
name comes from the output of date with the following option:

 date +%y%m%d:%H%M%S

Which results in strings like "990603:165437" for today's date.
>How-To-Repeat:
Use the date program
>Fix:
Change the running of date to:

  $date=`date +%Y%m%d:%H%M%S`

Which results in the string "19990603:165633"
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]