plog
Use the plog
command to obtain and optionally view the XML log for a publishing request. The plog
command requests the XML log for a specific request from the BMC Impact Publishing Server and routes it in XML format to standard output. Use the plogdisplay
command with the plog
command to convert the XML log to text and to output the text to standard output.
plog syntax
plog <common options> <RequestID \[-r\] \[-s\] \[-w\]>
plog command options
The required command option for plog
is the RequestID
.
The following table lists the options for plog
:
plog options
Option | Description |
---|---|
| |
| The ID of a specific publish request |
| Requests the replies part of the XML log |
| Requests the instances to be published |
| Requests the process report of the XML log |
plog examples
This section provides examples of using the plog
command to obtain and output the XML log for a specific service model publishing request.
Viewing the XML log for a specific publishing request as stdout
To obtain the XML log for a specific publishing request and send it to standard output for viewing, type a command similar to the following, substituting the request ID in this example:
plog -s Z00000e8mu7xw9Xpa1ZfsMZeg4v1Z
Viewing the XML log for a specific publishing request as a text in stdout
To obtain the XML publishing log for a specific publishing request, convert it to text format, and output it to standard output for viewing, type a command similar to the following, substituting the request ID:
plog -s Z00000e8mu7xw9Xpa1ZfsMZeg4v1Z | plogdisplay -@
Using this command, you can pipe the output of the plog
command through the plogdisplay
command to convert it to text format for output. See plogdisplay.
plog return codes
For information about CLI return codes, see Return codes for Publishing Server CLIs.
Comments
Log in or register to comment.