Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Google, Yandex

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Smaug Snippets » Hotboot log splitting
Forum Rules | Mark all | Recent Posts

Hotboot log splitting
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Feb 25, 2006, 11:33 am   Last edited Feb 25, 2006, 11:43 am by Zeno
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

I installed the log splitting snippet for hotboot (by Aurora), but it doesn't seem update very fast. Is this normal? Like this is what is at the end of it right now:
Sat Feb 25 11:26:54 2006 :: Log Zeno: log
Sat Feb 25 11:27:04 2006 :: Log Zeno: destroy
Sat Feb 25 11:28:33 2006


Now there's more logs that haven't shown up in there yet, and there's nothing beyond that last date yet. Sort of odd how there's the timestamp, but no log.

[EDIT] Something is wrong here. It is either not writing all the logs to the file, or not updating instantly. When I did another hotboot:
Sat Feb 25 11:28:33 2006 Sat Feb 25 11:34:46 2006 :: Booting Database
 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


There's logs missing. As you can tell, there's an extra timestamp without a log with it.

Yeah... it's just stopping for no reason once in a while.
Sat Feb 25 11:39:21 2006 :: Storeroom not found
Sat Feb 25 11:39

Been like that for ~30 seconds.
       
Post is unread #2 Feb 27, 2006, 5:23 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

I don't see anything owtwardly wrong with her code so I can't really explain why it just stops writing stuff, even in the middle of a line. Only theory I can come up with is that something might be clobbering the file descriptor and that results in what you have there.

AFKMud uses a different method of log splitting after a hotboot, which you're free to examine and try out if you want. It's nothing overly special, but it only kicks in during a hotboot since there's no real reason to split it on a reboot. Doesn't do timestamp filenames though.
       
Post is unread #3 Feb 27, 2006, 7:48 pm   Last edited Feb 27, 2006, 7:50 pm by Zeno
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

I installed the snippet on stock FUSS, and have the same problem. So unless the instructions are wrong, something is wrong with the code.
[EDIT] Logs were not writing as I tested it, but if I shutdown the MUD all the old logs get written immediately. Hotboot on the otherside, doesn't do that.

I'll check into what AFKMUD has, thanks.
       
Pages:<< prev 1 next >>