Description
The routine CPXgetlogfile() accesses the log file to which messages from all four CPLEX-defined channels are written.
CPXgetlogfile()
The routine returns a zero on success, and a nonzero if an error occurs.
int CPXgetlogfile (CPXCENVptr env, CPXFILEptr *logfile_p);
The pointer to the CPLEX environment as returned by CPXopenCPLEX().
CPXopenCPLEX()
The address of a CPXFILEptr variable. This routine sets logfile_p to be the file pointer for the current log file.
CPXFILEptr
logfile_p
status = CPXgetlogfile (env, &logfile);