NAME

catgen_initlogfile - set up logging to a local file

SYNOPSIS

#include <cat/gen.h>

int catgen_initlogfile(void);

DESCRIPTION

If the configuration value ``.global.log.file'' is present, this function will set up logging to the specified file rather than to Keon 4.5 (BoKS) or ELS.

RETURN VALUES

This function returns 0 if successful or if there is insufficient configuration data to complete the operation, or a negative code on error.

SEE ALSO

cat, catgen

catgen_certerrtologid, catgen_initels, catgen_initlog, catgen_loadloglabels, catgen_log