Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   RCLog Improvements (https://forums.graalonline.com/forums/showthread.php?t=134257948)

fowlplay4 02-09-2010 09:25 PM

RCLog Improvements
 
Gets bloated too fast, and makes searching for things a hassle when you actually need to use it.

It'd be awesome if it could be broken into a few files.

I.e:

- rclog_filemanager.txt: Downloads/Uploads Data Logs
- rclog_access.txt: Login/Logout Data Logs
- rclog_attributes.txt: Attribute Usage Logs
- rclog_rights.txt: Rights Usage Logs

I'm sure there's more things that could be categorized but this is just what has come to mind.

cbk1994 02-09-2010 09:31 PM

All of those sound good. I would also love an RC reset log which backs up attributes.

Also, would be great if all the default logs were automatically renamed (to append the date; rclog_2010_02_09.txt for example) and moved to logs/old/ or some other folder when they reach a certain file size.

Crow 02-09-2010 10:24 PM

Quote:

Originally Posted by cbk1994 (Post 1555143)
All of those sound good. I would also love an RC reset log which backs up attributes.

Also, would be great if all the default logs were automatically renamed (to append the date; rclog_2010_02_09.txt for example) and moved to logs/old/ or some other folder when they reach a certain file size.

Never tried modifying log files via script, but you could give that a try. Might work. Theres also filesize() I believe, which you can use to check the size of the log periodically.
No idea if you can actually rename files though, I never tried that.

DustyPorViva 02-09-2010 10:32 PM

Problem with modifying logs with script is you have to give NPC server access. Do you really want your logs able to be altered by any script?

cbk1994 02-09-2010 10:35 PM

You can't change files in logs/ by script :(.

salesman 02-09-2010 10:46 PM

Should also probably fix the fact that some things such as resetting a player do not log in rclog.txt at all. I might be remembering incorrectly, but I'm pretty sure resetting and something else wouldn't show in the logs.


All times are GMT +2. The time now is 11:23 PM.

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