| SE_log_copy |
Copies one logfile to another.
LONG SE_log_copy (SE_CONNECTION connection, const CHAR *oldlogfile, const CHAR *newlogfile);
| connection | The connection handle |
| oldlogfile | The name of the existing logfile. May be a username filename. |
| newlogfile | The name of the logfile to create. Must be a simple logfile name. |
SE_log_copy copies an existing logfile to a new logfile. The copy occurs on the server. Any entries in the new logfile are replaced by the contents of the old logfile.
SE_SUCCESS
SE_LOG_IO_ERROR
SE_LOG_NOACCESS
SE_LOG_NOEXIST
SE_LOG_NOTOPEN
SE_NET_FAILURE
SE_OUT_OF_SVMEM
SE_SDE_NOT_STARTED
• The output logfile is the same type, persistent or temporary, as the original. You may change its type with the SE_log_set_type. The logfile must not be opened.