|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Wed Apr 19, 2006 11:53 pm
Logging Child Windows |
I'm sure I have just missed something obvious here, But i find that the stuff I #GAG out when it goes to a child window, does not end up going to the logfile. Is there a way to make sure it still gets logged?
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Thu Apr 20, 2006 12:42 am |
If I recall correctly because the #GAG command deletes content from in MUD output it's never received by the logger. One option is to explicity #WRITE it using the following command.
Untested but should give the general idea. Assuming you pattern match a the line to GAG in
#FILE 1 MyLogFile.txt
#WRITE 1 %line
#GAG |
|
_________________ Asati di tempari! |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Thu Apr 20, 2006 2:25 am |
Is there a way to start secondary log files for the child windows atconnect, then append those to the end of the current main log file atdiscconect?
I use this for logging currently:
#alias atconnect {#LOG %replace( %title, " ", "")-%char-%time( "mm-dd-yy").txt} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Thu Apr 20, 2006 9:33 am |
#alias atconnect {#EXEC {%concat(":ChildWindow:#LOG {",%replace( %title, " ", ""),"-",%char,"-",%time( "mm-dd-yy").".txt}")}}
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|