Re: [BPL13] logs for windows

From: George (greerga@CIRCLEMUD.ORG)
Date: 06/24/98


On Wed, 24 Jun 1998, Christina Orr wrote:

>Well I got the patch for bpl13 added in and compiled finally. :)  Now I
>have a question.  When I boot up the mud the MS-Dos window that usually
>shows it booting is completely blank.  At first I thought that it wasn't
>booting the mud but it is.  It is just writing all the info that is
>usually in that window directly to the syslog file.  Is there a way I can
>make it log to both the syslog and the MS-Dos window?  Also it seems to
>only want to let me look at the syslog after I shut the mud down. Is that
>the way its supposed to work?

Well, I think you'll need to investigate the dup() function.

Then you'll have both stderr and a file.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://patches.van.ml.org/          | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST