KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Debug Log location and Client Server
PRODUCT: 4D | VERSION: 11.4 | PLATFORM: Mac & Win
Published On: May 7, 2009
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Starting the Debug Log using the command SET DATABSE PARAMETER and selector 34 creates the file 4DDebugLog_1.txt and saves various information in the file. Where the file is stored is dependent on where the SET DATABSE PARAMETER command is executed.

If the command is executed on the server side, then the file is created in the Logs folder next to the structure file on the server machine.

If the command is executed on the client side, then the file is created on the client machine in the Logs folder within the client cache folder. Here is that location:

Win XP: C:\Documents and Settings\{user_name}\Local Settings\Application Data\4D\{DB_Name}\Logs
Win Vista: C:\Users\{user_name}\local\4D\{DB_Name}\Logs
Mac OS: /Users/{user_name}/Library/Caches/4D/{DB_Name}/Logs

See Also:
Commented by Atanas Atanassov on May 8, 2009 at 1:24 PM
Debug log file and database log file are different files. They contain different information and can not be interchanged.
Commented by Luis on May 8, 2009 at 9:49 AM
For a complete explanation of how the Debug Log files are created please refer to the SET DATABASE PARAMETER (34) Debug Log files Technical Tip. Listed on the See Also section.