Enhancing The Journal Management

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.

Next…

This new feature offers more configuration options for deployment. Feel free to share your impressions and use cases on the forum.

Vanessa Talbot
• Product Owner •Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.