Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Enables logging per thread for server.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Trace | 10.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
Path | The native folder path. | "/tmp" |
Returns OK or error.
Set tmp as log folder:
Set Variable [ $r; Value: MBS( "Trace.SetServerLogPath"; "/tmp" ) ]
Log to FileMaker's log folder on a Linux server:
MBS( "Trace.SetServerLogPath"; "/opt/FileMaker/FileMaker Server/Logs/")
Enables logging on Windows Server:
Set Variable [ $r; Value: MBS( "Trace.SetServerLogPath"; "C:\Program Files\FileMaker\FileMaker Server\Logs\\") ]
Setup logging on server with multiple log files and times:
Set Variable [ $r; Value: MBS( "Trace.SetWithTimes"; 1) ]
Set Variable [ $r; Value: MBS( "Trace.SetServerLogPath"; "/Library/FileMaker Server/Logs/") ]
Set Variable [ $r; Value: MBS( "Trace") ]
This function is free to use.
Created 31st August 2020, last changed 9th September 2021