Manuals

Manuals
logfile Commands : Dell Command Line Interface Reference Back to Contents Page

logfile Commands

This chapter discusses the logfile commands listed in Table 1.

Table 1. logfile Commands

Command Summary Description
logfile end Ends the logging of all output
logfile start Begins the logging of all output to a text file

Use the following syntax for logfile commands:

logfile command [/switch{=value}] [parameter]

logfile end

To end the logging of all output, use the logfile end command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

logfile end

Examples

The following example stops logging information to the file afa0log17Nov98.txt (which was previously started with the logfile start command):

 AFA0>  logfile end
 Executing: logfile end
 
 Log file closed.

Related Information

logfile Commands:

logfile start

To begin the logging of all CLI command line activity to a specified file, use the logfile start command. CLI command line activity includes the associated output the CLI command displays.

The CLI continues to log command output until you close the CLI or you explicitly end the logfile with the logfile end command.

Command Availability

This command is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Syntax

logfile start [/append{=boolean}] {string}

Parameter

{string}

Specifies the name of the file to contain CLI command line activity. On Windows, use the Windows NT file name conventions. If the file name has spaces, use quotation marks ("") to enclose the string.

On NetWare, use the NetWare file name conventions.

On UNIX, use the UNIX file name conventions.

Switches

/append{=boolean}

Specifies whether to append all CLI command line activity to an existing output file, if one exists. If you set this switch to TRUE, the command appends the CLI command line activity to the file specified in {string}.

This switch defaults to FALSE (that is, the command does not append CLI command line activity to an existing output file).

This switch is supported on the following operating systems:

  • Windows NT
  • NetWare
  • UNIX

Examples

The following example (Windows NT) logs all output to a file called c:\ctrloginfo\afa0log17Nov98.txt. The .txt extension allows the file to be read by the Windows NT Notepad application:

 AFA0>  logfile start c:\ctrloginfo\afa0log17Nov98.txt
 Executing: logfile start "c:\ctrloginfo\afa0log17Nov98.txt"
 File c:\ctrloginfo\afa0log17Nov98.txt receiving all output.

The following example (Windows NT) logs subsequent output to an existing file:

 AFA0>  logfile start /append c:\ctrloginfo\afa0log17Nov98.txt
 Executing: logfile start /append=TRUE  
"c:\ctrloginfo\afa0log17Nov98.txt"
 
 File c:\ctrloginfo\afa0log17Nov98.txt receiving all output.

Related Information

logfile Commands:



Back to Contents Page

Laptops | Desktops | Business Laptops | Business Desktops | Workstations | Servers | Storage | Monitors | Printers | LCD TVs | Electronics
© 2009 Dell | About Dell | Terms of Sale | Unresolved Issues | Privacy | About Our Ads | Dell Recycling | Contact | Site Map | Feedback
AT | AU | BE | BR | CA | CH | CL | CN | CO | DE | DK | ES | FR | HK | IE | IN | IT | JP | KR | ME | MX | MY | NL | NO | PA | PR | RU | SE | SG | UK | VE | ALL

snWEB2