Table of Contents

NAME

gfs_set_debug_file - set the target for the debug log

SYNOPSIS

#include <gfs.h>
#include <gfs_debug.h>

int gfs_set_debug_file(char *filename);

DESCRIPTION

gfs_set_debug_file tells Galley to redirect all debugging output to the indicated file. By default, the target is stderr.

RETURN VALUE

If the underlying file system accepts filename as a valid target for output gfs_set_debug_file returns 0. Otherwise, it returns 1.

ERRORS

EINVAL filename is not a valid target.


Table of Contents