ID:92415
 
BYOND Version:464
Operating System:Windows XP Home
Web Browser:Firefox 3.6
Applies to:DM Language
Status: Unverified

Thus far we've been unable to verify or reproduce this bug. Or, it has been observed but it cannot be triggered with a reliable test case. You can help us out by editing your report or adding a comment with more information.
Descriptive Problem Summary:
Even in Trusted mode world.log files may not be created inside subdirectories using file().

It seems to be a really old bug with multiple workarounds.

Code Snippet (if applicable) to Reproduce Problem:
world/New()world.log=file("logs/serverlog.txt")

Expected Results:
File in subdirectory should be made.

Actual Results:
File isn't made and log text is displayed in the world output.

Workarounds:
var LOG
world/New()LOG=file("logs/serverlog.txt")

Is this still happening? I was unable to verify the problem. I set world log to both a text string and a file() object (the behavior should be identical). I tested both the base directory ("log.txt") and a subdirectory ("logs/log.txt"). As long as the subdirectory existed-- DD will not create it-- the log file was created and written to correctly.