# [rfc@MICROSOFT.com: RE: #define LOG COMMANDS]

"Robert J. Brown" (rj@eli.wariat.org)
Wed, 21 May 1997 19:22:05 -0500

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    ------- Start of forwarded message -------
    Return-Path: nop@ccs.neu.edu
    From: Roger Crew <rfc@MICROSOFT.com>
    To: moo-cows@the-b.org
    Subject: RE: #define LOG COMMANDS
    Date: Wed, 21 May 1997 13:07:56 -0700
    X-Priority: 3
    X-Mailer: Internet Mail Service (5.0.1458.30)
    Sender: owner-moo-cows@the-b.org
    Precedence: bulk
    Resent-From: clue-cows <nop@nop.com>
    Errors-To: clue-cows <nop@nop.com>

    > Has anyone else had any success in getting this to work?

    Historically, it's worked just fine.

    You might want to give us some idea of what version of the server you
    have, what you tried, and what went wrong (e.g., server didn't build,
    server built ok but would coredump, would run just fine but logged
    commands wouldn't appear in server log, etc...).

    The immediate thing that comes to mind is that you need an underscore,
    i.e., it should be

      #define LOG_COMMANDS

    not

      #define LOG COMMANDS

    which does something entirely different (probably nothing at all since I
    imagine the server code doesn't refer to LOG anywhere).

    Actually, this line is already in options.h, complete with underscore;
    you just need to uncomment it (i.e., remove the /* and */ from around
    it).  If you're randomly sticking in this #define elsewhere, all bets
    are off...
    ------- End of forwarded message -------