Jump to content

Log file naming schema


MisterPhilip

Recommended Posts

Posted

Can we please change the way the logs' filenames are changed so the date will sort in chronological order?

type_of_log_yyyy_mm_dd.cgi

So it shows up like such:

sql_error_log_2012_12_29.cgi    Dec 29 2012 12:30 PM
sql_error_log_2012_12_30.cgi    Dec 30 2012 08:58 AM
...
sql_error_log_2013_02_23.cgi    Feb 23 2013 05:05 PM
sql_error_log_2013_02_24.cgi    Yesterday, 04:50 AM
sql_error_log_2013_02_25.cgi    Yesterday, 11:03 PM




Instead of the current...
type_of_log_mm_dd_yy.cgi

... which produces:

sql_error_log_02_23_13.cgi    Feb 23 2013 05:05 PM
sql_error_log_02_24_13.cgi    Yesterday, 04:50 AM
sql_error_log_02_25_13.cgi    Yesterday, 11:03 PM
sql_error_log_12_29_12.cgi    Dec 29 2012 12:30 PM
sql_error_log_12_30_12.cgi    Dec 30 2012 08:58 AM

Also, it would be nice if all of the naming schemas were consistent. Upgrade / installs are dd.mm.yy while others are mm.dd.yy

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...