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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Darkmere
Novice


Joined: 23 May 2003
Posts: 31

PostPosted: Thu Feb 12, 2004 2:54 am   

Log files in sub-folders
 
I was attepmpting to set up a log, and the file name/location was
planned to be: SysLog/NameOfFile.txt

1. Setting it up like this the first attempt, created no log.
2. I then manually created the directory (/SysLog/) and it created
the file (NameOfFile.txt) but would not actually catch text.
3. I changed the log from SysLog/Name... to just Name... -- this
created the file in my main directory and logging did work.

Is it possible to have the files in a sub directory and actually
catch a log? I didnt find much help in the help-files.

-Darkmere
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Thu Feb 12, 2004 3:12 am   
 
Use instead of /

#log syslognameoflog.txt

will put the log file into the Syslog Directory under your Zmud Directory
Reply with quote
Darkmere
Novice


Joined: 23 May 2003
Posts: 31

PostPosted: Thu Feb 12, 2004 3:21 am   
 
Worked, ty

-Darkmere
Reply with quote
miegorengman
Novice


Joined: 05 Sep 2008
Posts: 42

PostPosted: Sun Dec 13, 2009 5:05 pm   similar issue, different results
 
i have been using the following:

#LOG %concat( %time( "mm/dd/yy"), ".txt")

zMUD tells me it's logging and the date is always correct, but the .txt disappears into the ether. i have searched my entire hard drive and double checked every txt file on it with no result

then i tried what was posted here and added logs so it would save them in that specific directory using:

#LOG logs%concat( %time( "mm/dd/yy"), ".txt")

same result, and zMUD responds with "log is on: logs12/13/09.txt"

help, i don't know much of anything about programming...
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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