Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

GenerateDiagnosticLog task

Merges all diagnostic logs across the cloud into one log, and returns the location of the merged log.

Syntax 1 (SQL)
CALL DBCloud.GenerateDiagnosticLog ( [ optional-parameters ] )
Syntax 2 (Cloud Command utility)
dbcloudcmd run GenerateDiagnosticLog [ optional-parameters ]
  • staging_dir

    An output parameter. Internal use only.

  • hosts

    The hosts to generate the log from. Accepts a search query that identifies hosts. The search query can be a list of host names or IDs separated by semicolons (;), or a full search. The default is NULL.

  • start_time

    The starting time window. The default is NULL.

  • end_time

    The ending time window. The default is NULL.

  • severity

    The severity level. Can be one of critical, error, warning, information, or debug. The default is NULL.

  • events

    The events to filter. The default is NULL.

  • regex

    A regular expression search. The default is NULL.

Required privileges



This task generates diagnostic data and outputs it into a staging directory.

Use the ETD File Management utility to view the diagnostic log.


Run the following command to generate the diagnostic log and to obtain the cloud ID of the directory it can be found in:

dbcloudcmd run GenerateDiagnosticLog