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 11-04-2003, 05:23 PM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Exclamation No one with write rights to rclog.txt

Well that would be stupid as it would get so big and clogg the servers... but the fact that people can delete the log and write to it is pointless in its self. So something needs to be done... Any suggestions?

Its just stupid people can write to such an important log and people can just delete it.
__________________
--Spark911
Reply With Quote
  #2  
Old 11-04-2003, 05:29 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
When somebody writes to the log, isn't that write event logged?
__________________
Reply With Quote
  #3  
Old 11-04-2003, 08:31 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
Logs get so big after a certain time, that they need to be split. Someone needs write to it, so they can split it, for easy management.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #4  
Old 11-04-2003, 08:44 PM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Quote:
Originally posted by Kaimetsu
When somebody writes to the log, isn't that write event logged?
yep.
__________________

Reply With Quote
  #5  
Old 11-04-2003, 09:47 PM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Quote:
Originally posted by Kaimetsu
When somebody writes to the log, isn't that write event logged?
Then how do people some how manage to delete the logs and leave behind nothing at all? It doesn't say the deleted it, it doesnt say they uploaded a file rclog.txt and it doesn't say that they wrote to it at all
__________________
--Spark911
Reply With Quote
  #6  
Old 11-04-2003, 10:27 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
Quote:
Originally posted by Neoreno
Logs get so big after a certain time, that they need to be split. Someone needs write to it, so they can split it, for easy management.
Server can do that automatically.
Reply With Quote
  #7  
Old 11-04-2003, 10:50 PM
--Chris-- --Chris-- is offline
Registered
--Chris--'s Avatar
Join Date: Jun 2002
Location: Trinidad
Posts: 2,767
--Chris-- will become famous soon enough
Send a message via MSN to --Chris--
I agree with this suggestion.
__________________
"Make the *dreams* of today the *opportunities* of tomorrow."

Reply With Quote
  #8  
Old 11-05-2003, 12:57 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Perhaps individual rights for move/rename?
Reply With Quote
  #9  
Old 11-05-2003, 01:09 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Loriel
Server can do that automatically.
How?
__________________
Kat
Reply With Quote
  #10  
Old 11-05-2003, 01:09 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Spark910


Then how do people some how manage to delete the logs and leave behind nothing at all? It doesn't say the deleted it, it doesnt say they uploaded a file rclog.txt and it doesn't say that they wrote to it at all
People are stupid then...

Time: Tue Nov 4 21:14:18 2003
Jagen renamed file logs/rclog.txt to rclog_09042003.txt
Time: Tue Nov 4 21:14:19 2003
Jagen loaded file(s) from logs/

Time: Tue Nov 4 21:14:29 2003
Jagen deleted file logs/rclog.txt
Time: Tue Nov 4 21:14:30 2003
Jagen loaded file(s) from logs/

and if I try to upload a file called rclog.txt it does this:
Uploaded file logs/rclog.tx
(note the missing t)
EDIT:
this is a recent bug with the server... not sure what it'd do if it was overwritten though... I would assume it's logged though
ENDEDIT

If I open and save
Time: Tue Nov 4 21:16:50 2003
Jagen saved file logs/rclog.txt
Time: Tue Nov 4 21:16:51 2003
Jagen loaded file(s) from logs/

Last edited by Python523; 11-05-2003 at 06:12 AM..
Reply With Quote
  #11  
Old 11-05-2003, 05:44 AM
Johnny_5 Johnny_5 is offline
Goon
Join Date: Nov 2002
Location: Spring Hill, Florida
Posts: 172
Johnny_5 is on a distinguished road
Send a message via AIM to Johnny_5
This really wouldn't be a problem if managers were responsible and smart enough not to give rw rclog.txt rights out.
Reply With Quote
  #12  
Old 11-05-2003, 06:03 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I'm not too keen on the subject, but didn't Stefan add a feature to subtract rights? Or was that just for the NPC server?
Reply With Quote
  #13  
Old 11-05-2003, 07:17 AM
Johnny_5 Johnny_5 is offline
Goon
Join Date: Nov 2002
Location: Spring Hill, Florida
Posts: 172
Johnny_5 is on a distinguished road
Send a message via AIM to Johnny_5
Stefan did make that subtract right. I think he made it especially for levels.
Reply With Quote
  #14  
Old 11-05-2003, 11:18 AM
Angel Angel is offline
Registered User
Join Date: Dec 2002
Posts: 562
Angel is on a distinguished road
Send a message via AIM to Angel
Quote:
Originally posted by Python523


People are stupid then...

Time: Tue Nov 4 21:14:18 2003
Jagen renamed file logs/rclog.txt to rclog_09042003.txt
Time: Tue Nov 4 21:14:19 2003
Jagen loaded file(s) from logs/

Time: Tue Nov 4 21:14:29 2003
Jagen deleted file logs/rclog.txt
Time: Tue Nov 4 21:14:30 2003
Jagen loaded file(s) from logs/

and if I try to upload a file called rclog.txt it does this:
Uploaded file logs/rclog.tx
(note the missing t)
EDIT:
this is a recent bug with the server... not sure what it'd do if it was overwritten though... I would assume it's logged though
ENDEDIT

If I open and save
Time: Tue Nov 4 21:16:50 2003
Jagen saved file logs/rclog.txt
Time: Tue Nov 4 21:16:51 2003
Jagen loaded file(s) from logs/

Actually False, If you delete the log twice fast. It wont recreate till the next action is taken, So no log of the log being deleted.
__________________
Have a account problem? Playerworld Problem? Forum Problem?

Reply With Quote
  #15  
Old 11-05-2003, 11:24 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Angel
Actually False, If you delete the log twice fast. It wont recreate till the next action is taken, So no log of the log being deleted.
Is it a good idea to tell everybody about that?
__________________
Reply With Quote
  #16  
Old 11-05-2003, 05:19 PM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
Yes, but it should be told to Stefan.

I have a suggestion. Logs are not in file browser, well, they are, but not accessed from there. In the server options there should be a varible like, rclog=account1,account2, etc...

This will give high admins added into there access to a buttion which displays the logs. The logs are dated and changed once a week, so displaying them would not lag ones computer with a ton of text. But the logs would have to be rescripted so that they don't go off the window, and so it easier to read.

Mabey something like that?
__________________
Reply With Quote
  #17  
Old 11-05-2003, 08:39 PM
Spark910 Spark910 is offline
Ex-Graal Global
Spark910's Avatar
Join Date: Oct 2001
Location: England
Posts: 10,892
Spark910 has a spectacular aura about
Quote:
Originally posted by Kaimetsu


Is it a good idea to tell everybody about that?
Nope. Nor was Jagens, if it was all true.
__________________
--Spark911
Reply With Quote
  #18  
Old 11-07-2003, 10:26 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
I believe the rclog shouldn't be taken seriously in matters that need to be handled by anybody higher than a server manager if there is even a remote chance it could have been edited.

Perhaps there had ought to be an uneditable version per server uploaded to a global directory or some such?

I do like that account-specific idea though, would make it easier for people to check up on exactly how much their staff are working or maybe who carried out what action.

Final thought -
I think it would be ideal to have a new window like the accounts list that lets you search for an action or account or time/date etc. Listing the results processed from the raw data in the log file, an uneditable log preferably.
To avoid it getting too big maybe a 30 day limit to how long actions are kept in the file?
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #19  
Old 11-07-2003, 02:38 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
Quote:
Originally posted by HoudiniMan
I believe the rclog shouldn't be taken seriously in matters that need to be handled by anybody higher than a server manager if there is even a remote chance it could have been edited.
That is why this thread came into existence, Sir.
Reply With Quote
  #20  
Old 11-12-2003, 05:07 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
How about if rclog.txt is greater than 4 megabytes, rename RClog automatically(name it the date, like 090403.txt or whatever). Then all will be well in the world of Ivalice.
Reply With Quote
  #21  
Old 11-12-2003, 08:12 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
Actually I think it could even be .tgz'ed, too, and only the most recent log entries of, dunno, the last month or the last few hundred kilobytes need to be available in plain text.
Perhaps the log handling could be done more `behind the scenes', using a database thingie and having some kind of scripted interface.
Reply With Quote
  #22  
Old 11-12-2003, 08:47 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
Quote:
Originally posted by protagonist
How about if rclog.txt is greater than 4 megabytes, rename RClog automatically(name it the date, like 090403.txt or whatever). Then all will be well in the world of Ivalice.
Four megabytes, yeah. That'd take me just under an hour to download.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #23  
Old 11-13-2003, 02:51 AM
Milkdude99 Milkdude99 is offline
Truckin Up
Milkdude99's Avatar
Join Date: Jun 2001
Location: Central Florida
Posts: 3,390
Milkdude99 is an unknown quantity at this point
Send a message via ICQ to Milkdude99
What I did is every first of the month I renamed the log to that past month so it would start a new one. This kept the log small and easier to deal with when it became nessary to look something up, if you knew the month it occurred in ( and year because I put month and year) it is much easier to find. So I suggest the log starts over each month, and names the last log for the month and year it was logged in. A text log of 4 megs is huge and very hard to find something in and I suggest a much smaller log so you don't spend hours looking for something.
__________________

Moon God
Graal.net

---------- Home---------

Reply With Quote
  #24  
Old 11-13-2003, 07:23 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
Quote:
Originally posted by HoudiniMan
To avoid it getting too big maybe a 30 day limit to how long actions are kept in the file...
... before it's cut off and a new file made.

Kinda what i was getting at there
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #25  
Old 11-13-2003, 07:45 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by Kaimetsu
When somebody writes to the log, isn't that write event logged?
Not if you upload it.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #26  
Old 11-14-2003, 02:30 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
Originally posted by Loriel

Server can do that automatically.
I didn't know that servers parsed the logs after they got so big. Our gralatlog.txt got over 3megabytes, before I got around to saving it in the oldlogs.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #27  
Old 11-14-2003, 02:46 AM
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
I meant to say that it is possible to code the server to do so.
Reply With Quote
  #28  
Old 11-14-2003, 02:47 AM
Milkdude99 Milkdude99 is offline
Truckin Up
Milkdude99's Avatar
Join Date: Jun 2001
Location: Central Florida
Posts: 3,390
Milkdude99 is an unknown quantity at this point
Send a message via ICQ to Milkdude99
Quote:
Originally posted by HoudiniMan


... before it's cut off and a new file made.

Kinda what i was getting at there
I know and I agree with you.. I just didn't see that till after I posted ..*shrugs*
__________________

Moon God
Graal.net

---------- Home---------

Reply With Quote
  #29  
Old 11-14-2003, 11:54 AM
HoudiniMan HoudiniMan is offline
Playerworld Administrator
HoudiniMan's Avatar
Join Date: Dec 2001
Location: Calfiornia - USA
Posts: 3,512
HoudiniMan will become famous soon enough
Well, now that we're all in agreement maybe this can actually influence something in the new RC being scripted? *prods Jagen*
__________________
-HoudiniMan (Chief Playerworld Administrator)
Compulsive Support Center Checker - 5 Years and Change
Graal Support Center

Reply With Quote
  #30  
Old 11-14-2003, 03:47 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
Yes, certainly, as the RC is the program in charge of managing logs.
Reply With Quote
  #31  
Old 11-15-2003, 05:44 PM
matt8891 matt8891 is offline
Registered User
matt8891's Avatar
Join Date: Jul 2003
Location: New York
Posts: 0
matt8891 is on a distinguished road
Send a message via AIM to matt8891 Send a message via Yahoo to matt8891
logs/*

I say only managers...not admins managers....get rw logs/*.....admins get r logs/*
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 03:03 PM.


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