Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Nov 02, 2008 12:18 am   

[2.37] #log doesn't give an error
 
When the folder you're trying to write to doesn't exist, #log doesn't give an error - it claims that the log is on, but it also doesn't create the folder and thus doesn't start logging. Either it should create the folders or complain that it can't write the file.

To test, I did #log "D:\somefolderthatdoesntexist\test.txt".
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Sun Nov 02, 2008 5:03 am   
 
I think Zugg stated before now that the directory has to exist. I'm fairly cetain he said there is no error checking in this regard and that you must verify before hand that the direcotry exists.
_________________
Taz :)
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sun Nov 02, 2008 12:58 pm   
 
Fair enough. If whatever he's using to write the file doesn't support returning an error in this way, then it's understandable, but otherwise it's something CMUD could do better. It's not exactly high priority, but it's there :P
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net