Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Suggestions
➜ Log file rollover
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Dave
Australia (93 posts) Bio
|
Date
| Mon 01 Sep 2003 04:07 AM (UTC) |
Message
| Don't know if this has been suggested before, but it would be nice if MUSHclient automatically opened a new log file when the day turns over (assuming the date field for "day" is found in the log file in General|Logging). This CAN be done with a plugin and a timer, but I think it would be more appropriate to do this within MUSHclient itself. If you're logging to a daily file, you sort of expect it to log to "correct" filename, instead of whenever MUSHclient closes/reopens.
Dave | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #1 on Mon 01 Sep 2003 07:22 AM (UTC) |
Message
| Its perfectly appropriate to do it with a plugin and a timer, thats exactly what the plugin system was designed for... (it wont only do it when mushclient closes/opens, you can set it up to do it whenever the day changes)
There is someone who had questions about changing days and such with logs in the forums past... Do a search for the thread, there might be some examples. |
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Dave
Australia (93 posts) Bio
|
Date
| Reply #2 on Mon 01 Sep 2003 07:30 AM (UTC) |
Message
| Did you read what I posted? I know it can be done with a plugin, I was simply asking for it to be included in MUSHclient. | Top |
|
Posted by
| Flannel
USA (1,230 posts) Bio
|
Date
| Reply #3 on Mon 01 Sep 2003 07:59 AM (UTC) |
Message
| I dont see why thats an issue, plugins were designed so that mushclient wouldnt get bloated by a bunch of people wanting something and insisting it goes in, and thereby forcing others to have it, even if they dont use it.
Thought you thought there was some problem with it being used as a plugin ("If you're logging to a daily file, you sort of expect it to log to "correct" filename, instead of whenever MUSHclient closes/reopens.")
|
~Flannel
Messiah of Rose
Eternity's Trials.
Clones are people two. | Top |
|
Posted by
| Dave
Australia (93 posts) Bio
|
Date
| Reply #4 on Mon 01 Sep 2003 08:09 AM (UTC) |
Message
| I meant that I expect MUSHclient itself to log to the correct filename when the day rolls over, which is why I suggested it be put into MUSHclient itself instead of a plugin. I'm all for not having bloat, but I'd hardly call logging to the logical filename bloat. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Mon 01 Sep 2003 08:18 AM (UTC) |
Message
| This subject was canvassed fairly recently. I see where you are coming from, but say you put the hour/minute/second in the log file name, do you expect a new log file every second? I don't think so. If not, however you could argue that the log file name "does not show the correct time".
The name is the date/time you opened it. It is up to you to close/re-open it (say in a plugin or a timer) at a frequency that suits you. Say, every hour. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
16,614 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top