logEntry deleteWhere

Available for: Content Management Server

Task: Deletes the log entries that match the search criteria.

Syntax:

logEntry deleteWhere {parameter value}

Function parameters:

  • parameter is the name of a parameter whose values are to be checked for occurrences of value.
  • value (string) contains the search string for the respective parameter.

Return value if successful: number of deleted entries (number)

Necessary permissions: The user must be a super user.

Example:

CM>logEntry deleteWhere objectId 2003