Automatically Logging a closed world

Posted by Bast on Wed 05 Aug 2009 06:24 PM — 2 posts, 12,277 views.

#0

When trying to setup automatic logging for a closed world, in this case the Aardwolf Chats window, I can't get the world to log unless I use the menu to enable it. My main Aardwolf window logs automatically. Is the difference the fact the the Chats world is closed?

Thanks,
Eric
Australia Forum Administrator #1
Yes, logging is turned on when the world connects.

You can make it turn on when the world opens by going to the scripting configuration tab, make sure that "/" is the script prefix, and the script language is Lua, and then putting this in the World Events -> Open box:


!/OpenLog ("", true)


What that does is script a log file open when the world is opened. Make sure you have the logging name set up in your logging configuration. The "true" means "append to log file".