Easy access to log files

Automatically translated from English

Log files can be extremely useful for troubleshooting. They’re also a big help for finding the root cause of an incident. Logs let us track of where a problem occurred, and when. Before, with the Get 4D folder command, you could easily access the folder containing all the logs. Now, 4D v16 R6 makes easy to find a particular log file, thanks to the enhancement of the Get 4D file command.

As a server administrator, it’s now easy to monitor your server based on log file information. For instance, you can monitor your server activity by checking the Request log file content, which lists all standard requests carried out by the 4D Server machine or the 4D remote machine.

Here is the list of selectors which have been added to the Get 4D file command to simplify log file access:

  • Request log file
  • Debug log file
  • Backup log file
  • Verification log file
  • Compacting log file
  • Repair log file
  • HTTP log file
  • Build application log file

Open debug log

The following code opens the Debug log file containing every operation that occurred at the 4D programming level:

C_TEXT($logFilePath)
$logFilePath:=Get 4D file(Debug log file)
OPEN URL($logFilePath)

Want to know more about log files? Check out this article in the documentation.

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.