Difference between revisions of "Pdm logfile"

From SDU
Jump to: navigation, search
(Overview)
Line 5: Line 5:
  
 
== Overview ==
 
== Overview ==
pdm_logfile is another command-line utility.
+
This utility can be used to set or display the current logfiles cutover configuration.
  
You can define a special filesize of the log files before a cutover happens.
+
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.
 
+
Just enter pdm_logfile -? to see the help for this tool.
+
  
 +
== 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
 +
|
 +
|-
 +
|}
  
 
== Alter the log file size Example ==
 
== Alter the log file size Example ==

Revision as of 08:19, 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.

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.

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

Alter the log file size Example

To set the correct filesize you have to enter the size in bytes. OOTB standard is 3 Megabytes which is 3000000 Bytes

If you want to have a filesize of 10 Megabytes just enter following command: pdm_logfile -b 10000000