| Overview | Group | Index | Concepts | 
The routine CPXsetlogfile modifies the log file to which
 messages from all four CPLEX-defined channels are written. 
CPXsetlogfile is equivalent to directing output
 from the cpxresults, cpxwarning,
 cpxerror and cpxlog message channels to a single
 file.
 Example
status = CPXsetlogfile (env, logfile);
| env | A pointer to the CPLEX environment as returned by   | 
| lfile | A CPXFILEptr to the log file. This routine sets   |