Ticket #9482 (new enhancement)
Include dates in logs, or restart logs daily at midnight
| Reported by: | macnewbold | Owned by: | rlaager |
|---|---|---|---|
| Milestone: | Component: | unclassified | |
| Version: | 2.5.7 | Keywords: | logs dates timestamps |
| Cc: | Dawudd |
Description (last modified by macnewbold) (diff)
When a conversation or chat is open across one or more date boundaries, the log file becomes hard to use, because one can no longer easily tell which date the logged time refers to. For example, I frequently leave IRC chats, and even some IM conversations, open for days or weeks at a time, and the only date stored in my logs is the date that the conversation/chat was originally opened.
While possible to put the date on every line next to the time, I think it would be preferable to show the current date every time a new entry is from a different day than the previous entry. Or perhaps it might be more simple to output the current date to every open log file at midnight each day. That would accomplish roughly the same thing, the only difference being that it would show a date in the log even if there was no activity during that day.
Another possibility is that any open log files should be closed at midnight and reopen a new log each day. Then the view/search logs features could show the logs by the actual day the message was sent, rather than just the day that log file was opened.



