Re: [CODE] SYSERR: Using log() before stream was initialized!

From: George Greer (greerga@circlemud.org)
Date: 05/25/99


On Tue, 25 May 1999, QA Developer wrote:

>I finished cleaning up the code so there are no more errors but now when I
>load the mud I get the following error:
>SYSERR: Using log() before stream was initialized!

You can't call log() until after these lines in main():

  /* All arguments have been parsed, try to open log file. */
  setup_log(LOGNAME, STDERR_FILENO);

--
George Greer            | Code from Erwin S. Andreasen (mudFTP, mcl)
greerga@circlemud.org   | http://www.andreasen.org/


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



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