plogdisplay
Use the plogdisplay
command to convert the XML log for a request to text and output it to standard output. Use this command with the plog
command.
plogdisplay syntax
plogdisplay <common options> (-@ | <RequestLogFile>)
plogdisplay command options
You must specify an input for the command; it can be either standard input (-@) or a specified file.
The following table lists the options for plogdisplay
.
plogdisplay options
Option | Description |
---|---|
| See Common command options for Publishing Server CLIs. |
| Specifies the source of input to display
|
plogdisplay examples
This section provides examples of using the plogdisplay
command to convert an XML log file for a publishing request to text and output it to standard output.
Converting an XML log file for a specific publishing request to text
To convert the XML log file for a publishing request to text and output it to standard output, type a command similar to the following command, substituting the correct xml file name:
publish -r myLog.xml
plogdisplay myLog.xml
Viewing the XML log for a specific publishing request as a text in stdout
You can pipe the output of the plogdisplay
command through the plogdisplay
command to convert it to text format and output it to standard output. To view a specific publishing, log on to text format and type the following command:
plog -r -s Z00000e8mu7xw9Xpa1ZfsMZeg4v1Z | plogdisplay -@
plogdisplay return codes
The plogdisplay
command returns a nonzero value if it encounters any errors during execution. It returns a zero (0) value on successful execution, as shown in the following table.
plogdisplay return codes
Code | Description |
---|---|
| Success |
a number other than | Error |
Comments
Log in or register to comment.