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
Slugworth83
Newbie


Joined: 08 Nov 2022
Posts: 1

PostPosted: Tue Nov 08, 2022 9:55 pm   

Changing #log Location
 
Just started with cMud this week and really enjoying the features. I'm trying to do some stuff with logging, but want to change the default location for all saved #log. Any ideas on where / how to change this as a global preference?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4578
Location: Pensacola, FL, USA

PostPosted: Wed Nov 09, 2022 1:31 pm   
 
You can pass a full path name to the #LOG command.

I use:

#EVENT onConnect {#LOG %concat(%sessionid, " ", %time(yyyy-mm-dd), " ", %time(hh), "00.txt")}

But you can add the drive letter and folders as well
_________________
Discord: Shalimar#3679
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