PennMUSH Community

Ticket #7487 (new suggested feature)

Opened 9 months ago

Last modified 9 months ago

Appen pre-existing logs upon restart instead of wiping clean

Reported by: anonymous Assigned to:
Priority: minor Milestone:
Keywords: restart shutdown logs wipe append Cc:
Visibility: Public

Description

Just one little concern that came up recently here. I know as a good mush admin I should find my own way around this issue, but I thought I'd add this as a possible ammendment to current penn functionality:

Currently it's programmed that upon a full @shutdown and restart, the log files are wiped clean and started over. To me, this seems fairly backwards. Especially in cases of like rushed security issues. I think it'd be more preferred to just append the existing files on restart.

Who knows...I may be able to create a patch in due time for this to submit. But it'd be nice to see.

Change History

11/16/07 09:57:53 changed by Alan Schwartz

Quoting Penndev (pennmush-bugs@pennmush.org):
> #7487: Appen pre-existing logs upon restart instead of wiping clean
> ----------------------------------------------+-----------------------------
> Reporter:  Vchat20@gmail.com                  |         Type:  suggested feature
>   Status:  new                                |     Priority:  minor            
> Keywords:  restart shutdown logs wipe append  |   Visibility:  Public           
> ----------------------------------------------+-----------------------------
>  Just one little concern that came up recently here. I know as a good mush
>  admin I should find my own way around this issue, but I thought I'd add
>  this as a possible ammendment to current penn functionality:
> 
>  Currently it's programmed that upon a full @shutdown and restart, the log
>  files are wiped clean and started over. To me, this seems fairly
>  backwards. Especially in cases of like rushed security issues. I think
>  it'd be more preferred to just append the existing files on restart.

Modify the restart script, and remove the lines that remove the logs.

 - Alan

-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Javelin@M*U*S*H, once Paul@DuneMUSH | Alan Schwartz <dunemush@pennmush.org>
   (mush.pennmush.org 4201)         |     
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

11/16/07 10:28:10 changed by raevnos

Currently, the existing log files are copied to the game/save directory instead of being completely deleted.

11/19/07 15:19:58 changed by ray73864

which is how it should be, however, maybe the logfiles when they get moved to that directory could be appended with a date/time stamp to say when they are from? (eg: netmush-20071119.log).

just a thought.