[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_ModLogRedirect

Overview

Redirect logging of a realm to a file

Syntax

    void Ns_ModLogRedirect(
    Ns_ModLogHandle handle,
    FILE *fp,
    char *description
    );

Description

The Ns_ModLogRedirect function redirects logging of a realm to an open file. The default handle is used instead for a null handle. fp refers to an open file. A null pointer for fp redirects the output to the default server log file. The description string is printed in the original server log file for the handle.

Examples

    FILE *fp;
    fp = fopen("cgirealm.log", "a");
    Ns_ModLogRedirect(cgiModLogHandle, fp, "redirecting to a different

    file");

See also

ns_modlogcontrol redirect

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1998-99 America Online, Inc.