Logging commands
You can use the following commands to work with logs and structured logs.
Command | Meaning |
---|---|
If the user log is enabled, write an entry to
|
|
Parse a structured log file and return the logged data in tagged format |
|
Rotate a named logfile, or, if no name is specified, all server
logs. This command applies only to structured logs. It does not
rotate the unstructured |
|
Return a description of the specified log record type. |
|
Report the file size of the journal ( |
|
Output the last block of the error log ( |
For information about logging to a single file, see P4LOG in the Helix Core Command-Line (P4) Reference.
For information about structured logs, see Structured logs.