tf logging
Posted: Tue Dec 11, 2012 8:53 pm
autologging with log rotation with date in filename
- Code: Select all
/def logger = /log off %; \
/log SlothMUD.$[ftime("%F")].log %; \
/at 00:01 /logger
/hook CONNECT = /logger %; /set connected 1
/hook CONFAIL|ICONFAIL * = /log off %; /set connected 0