With 4D v20 R3, a new feature has been introduced to enable better journal management. This feature concerns the “Use log file” option, which can now be overridden like other backup parameters.
In this blog post, we’ll explain why this is useful and show you how to use it.
What is the purpose of “Use log file”?
The “Use log” option defines whether your application uses a journal. 4D will ask you to create or select a journal when creating a new data file when this option is activated. The path to the selected journal will then be stored in the data file. Similarly, if you open a data file without a journal and this option is enabled, 4D will prompt you to create or select a journal.
Where is it saved?
By default, the value of the “Use log” option is saved in the “catalog” file. However, with 4D v20 R3, you can modify this value during deployment using the backup setting file. This way, the parameter can be set in the structure, next to the structure, or next to the data.
As with other parameters, the order of priority is :
- Next to the data,
- Next to structure,
- In structure.
On the interface side
For the user interface, there are no changes to the structure parameters. The “Use log” parameter continues to be saved in the “catalog” file. However, if you select the data parameters, the information will be saved in the backup setting file next to the data in the “/DATA/settings/Backup.4dsettings” directory.
This new feature offers more configuration options for deployment. Feel free to share your impressions and use cases on the forum.