Difference between revisions of "Pdm logfile"
From SDU
(→Overview) |
(→Example) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 8: | Line 8: | ||
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size. | The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size. | ||
| + | |||
| + | |||
| + | By default, Service Desk log files have a cutover size of 3000000 Bytes. | ||
== Usage == | == Usage == | ||
| Line 22: | Line 25: | ||
|- | |- | ||
| -L | | -L | ||
| − | | | + | | Lists the current cutover settings and log files. |
| | | | ||
|- | |- | ||
| Line 30: | Line 33: | ||
|- | |- | ||
| -b bytes | | -b bytes | ||
| − | | | + | | Number of bytes in a single logfile, before cutover. |
| − | | | + | | To set the correct file size you have to enter the size in ''bytes'' |
|- | |- | ||
|} | |} | ||
| − | == | + | == Example == |
| − | + | * If you want to have a log file size of 10 Megabytes just enter following command: | |
| − | + | pdm_logfile -b 10000000 | |
| − | + | ||
| − | If you want to have a | + | |
| − | pdm_logfile -b 10000000 | + | |
Latest revision as of 08:27, 21 September 2008
To make corrections or additions to this article, select the edit tab above.
To discuss or ask questions about this article, select the discussion tab above.
To discuss or ask questions about this article, select the discussion tab above.
Overview
This utility can be used to set or display the current logfiles cutover configuration.
The Service Desk logfiles are kept in $NXROOT/logs, named stdlog.X, where X=0,1,...9. The files are rotated when they reach the cutover size.
By default, Service Desk log files have a cutover size of 3000000 Bytes.
Usage
pdm_logfile [-h] [-q] [-L] [-b bytes]
| Command | Description | Remarks |
|---|---|---|
| -h | Help | |
| -L | Lists the current cutover settings and log files. | |
| -q | Quiet mode | |
| -b bytes | Number of bytes in a single logfile, before cutover. | To set the correct file size you have to enter the size in bytes |
Example
- If you want to have a log file size of 10 Megabytes just enter following command:
pdm_logfile -b 10000000