Diagtool
/cgi-bin/mivavm.conf to specify logging settings. View this forum post for other log level referenceslogfile=diagtool.log
loglevel=144
logcookie=mivadiagtool
/private/mivadata/diagtool.log filemvprof -o diagtool-output.txt diagtool.log in your terminalMvCONFIG_LOG_FUNC_CALL              16          Calls to native (MivaScript) functions
MvCONFIG_LOG_FUNC_PARAM             32          Parameters to native (MivaScript) functions
MvCONFIG_LOG_FUNC_RETVAL            64          Return values from native (MivaScript) functions
MvCONFIG_LOG_FUNC_RETURN            128         Return from native (MivaScript) functions
MvCONFIG_LOG_EXTERNAL_FUNC_CALL     256         Calls to builtin or other external functions
MvCONFIG_LOG_EXTERNAL_FUNC_PARAM    512         Parameters to builtin or other external functions
MvCONFIG_LOG_EXTERNAL_FUNC_RETVAL   1024        Return values from builtin or other external functions
MvCONFIG_LOG_EXTERNAL_FUNC_RETURN   2048        Return from builtin or other external functions
MvCONFIG_LOG_MvDO_FILE_ENTER        4096        MvDO of an entire file has begun
MvCONFIG_LOG_MvDO_FILE_EXIT         8192        MvDO of an entire file has ended
MvCONFIG_LOG_MvCALL                 1048576     Logs raw request and response data for the MvCALL tag (requires v5.13)
MvCONFIG_LOG_APPLICATION_TIMEOUT    134217728   Logs globaltimeout terminations (requires v5.13)
MvCONFIG_LOG_RUNTIME_ERROR          268435456   All runtime errors
MvCONFIG_LOG_FATAL_ERROR            536870912   All fatal errors
MvCONFIG_LOG_TRACE                  1073741824  Logs each line of source code executed