4D v14.3

Log File

Home

 
4D v14.3
Log File

Log File 


 

Log File -> Function result 
Parameter Type   Description
Function result  String in Long name of the database log file

The Log File command returns the long name (i.e. the complete pathname of the file, including its name) of the current log file of the open database.

If the database is operating without a log file, the command returns an empty string and the system variable OK is set to 0.

If the database operates with a log file, the system variable OK is set to 1. The pathname returned by the command is expressed with the syntax of the current platform.

WARNING: If you execute this command from a 4D Client machine, only the log file name is returned, not the long name

  • If the database is operating without a log file, the system variable OK is set to 0; otherwise, it is set to 1.
  • If for some reason the log file becomes unavailable during a working session, error 1274 is generated and 4D Server does not allow users to write data anymore. When the log file is available again, it is necessary to do a backup.

 
PROPERTIES 

Product: 4D
Theme: Backup
Number: 928

The OK variable is changed by the commandDifferent in remote mode

 
HISTORY 

Created: 4D 2004.3

 
SEE ALSO 

SELECT LOG FILE

 
ARTICLE USAGE

4D Language Reference ( 4D v11 SQL Release 6)
4D Language Reference ( 4D v12.4)
4D Language Reference ( 4D v14 R3)
4D Language Reference ( 4D v14 R2)
4D Language Reference ( 4D v13.5)
4D Language Reference ( 4D v14.3)
4D Language Reference ( 4D v14 R4)