ddsGetLibManLogFileName
ddsGetLibManLogFileName( [g_query] ) =>t_logPath/l_dpl/ nil
Description
Returns the path to the log file created by Library Manager.
Arguments
Values Returned
|
Disembodied property list containing recognized property names from query DPL. Returns the following values: |
|
Examples
The following examples show queries for the path of the current or previous Library Manager log file.
ddsGetLibManLogFileName()
=>nil
ddsGetLibManLogFileName( nil )
=>nil
ddsGetLibManLogFileName( "string" )
=>nil
This following example shows query with DPL input to consider only an active Library Manager log file
detailsDpl = ddsGetLibManLogFileName( '( myTag log nil pid nil logPid nil ) )
when( pairp( detailsDpl)
when( fixp( detailsDpl->pid ) && stringp( detailsDpl->log ) &&
detailsDpl->pid == detailsDpl->logPid
printf("Library Manager is running with log file %s\n" detailsDpl->log)
))
Return to top