Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-30-2004, 03:08 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
Automatic Log Archiving

The gserver should automatically archive log files when they get bigger than a certain size. The size could be set in server options. This way, no account would need rw logs/* and thus the hackers who are deleting servers right now cant cover their tracks.

so
  • Automatic log file archiving
  • new server option: autologarchivesize=1024 (in kb)
Reply With Quote
  #2  
Old 03-30-2004, 04:14 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Sounds cool.
Logs will grow big with time, so I guess it would be alright to make it so they are killed after half a year, or when they exceed a set size?
To prevent the latter being abused we need to limit the amount of logged data.
Reply With Quote
  #3  
Old 03-30-2004, 04:29 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
perhaps no server option then, although some people have like 10 megs of logs in a week, so dunno
Reply With Quote
  #4  
Old 03-30-2004, 10:52 PM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
Could make it just do that with rclog and npclog, then nobody would need write rights to those two files. Other logs they could still have rights to.
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

Reply With Quote
  #5  
Old 03-30-2004, 11:58 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Sounds nice. So scripts cannot flood and thus overrun the logs, and the most important things are logged anyway. We would need to disable savelog then, though.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:04 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.