Sun Microsystems V40z, V20Z manual SP Set Logfile Subcommand

Models: V20Z V40z

1 254
Download 254 pages 44.85 Kb
Page 205
Image 205

Return Codes

TABLE H-37lists the return codes for this subcommand.

TABLE H-37Return Codes for Subcommand sp get logfile

Return Code

ID

Description

 

 

 

NWSE_Success

0

Command successfully completed.

NWSE_InvalidUsage

1

Invalid usage: bad parameter usage, conflicting

 

 

options specified.

NWSE_RPCTimeout

2

Request was issued, but was not serviced by the

 

 

server. RPC procedure timed out and the request

 

 

may or may not have been serviced by the server.

NWSE_RPCNotConnected

3

Unable to connect to the RPC server.

NWSE_NoMemory

8

Insufficient memory.

 

 

 

SP Set Logfile Subcommand

Description: Configures the event log file that is the destination of all Event Manager events and notices.

Format

Command format:

sp set logfile [ {-f --file} FILENAME] [ {-s --size} SIZE]

You must specify the name of the file to which the Event Manager sends logs. When setting the log file using this command, specify only the name of the log file without the path. File names cannot contain the forward slash character (/), backward relative-path reference (..) or the less-than symbol (<).

TABLE H-38lists the arguments for this subcommand.

TABLE H-38Arguments for Subcommand sp set logfile

ArgumentDescription

{-f --file}Specifies the name of the file within the directory to which the Event Manager sends logs.

{-s --size}Specifies the size of the file in megabytes. A minimum size of 0.01 MB is required for this log file.

Appendix H Service Processor Commands 183

Page 205
Image 205
Sun Microsystems V40z, V20Z manual SP Set Logfile Subcommand, Table H-37lists the return codes for this subcommand