TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Html Logging on Windows

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
overwrite



Joined: 13 Dec 2006
Posts: 2

PostPosted: Wed Dec 13, 2006 9:27 am    Post subject: Html Logging on Windows Reply with quote

I am using wintin++ Version 1.96.4 and I am having some issues with the logging. I am not using the prompt, but I am using split. The logfiles are output with no CSS/HTML header, the carriage returns are still Unix style (which I can get over but firefox can't seem to), and the color codes in the text are not output properly. For a color code like "<070>" the html log file has "" which to me is completely broken.

I am using a modified version of the logging script that I found in the scripts section of the tt++ website.

Code:

#logging
#alias {zlogstat} {#if {$logging == 1} {#showme <060>logging<070> is <020>ON<070> (use <030>tlog<070> to toggle)} {#showme <060>logging<070> is <010>OFF<070> (use <030>tlog<070> to toggle)}}
#alias {tlog} {
   #if {"$logging" == "0"} {
      #format {time} {%T};
      #format {logfile} {C:/logs/%d.html} {$time};
      #log append $logfile;
      #var logging 1;
      zlogstat;
   } {
      #log;
      #var logging 0;
      zlogstat;
   }
}
#format {time} {%T};
#format {logfile} {C:/logs/%d.html} {$time};
#log overwrite $logfile;


Perhaps I am doing something blatantly wrong and could be corrected. However I think this may be a bug.
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Wed Dec 13, 2006 9:55 am    Post subject: Reply with quote

Did you use: #config log html ?

I think that's the problem and that you're currently logging in raw mode.

To view logfiles in raw mode you can use #scan <filename> and use page-up/down etc to go through the buffer.
Back to top
View user's profile Send private message Send e-mail
overwrite



Joined: 13 Dec 2006
Posts: 2

PostPosted: Wed Dec 13, 2006 3:28 pm    Post subject: Reply with quote

#config log html worked great. I was under the impression that it was set by default, but I guess this is not the case. thanks for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group