Apple Server Diagnostics - Setting Log Preferences

background image

Setting Log Preferences

You can set up log preferences so that the Server Diagnostics test logs are
automatically saved to a file at a location you choose. Server Diagnostics test logs are
created every time you start a new Server Diagnostics session.

When Server Diagnostics Mac OS X saves a log, it overwrites any existing log of the
same name. Log preferences can automatically customize the name of the log file so
that the log files aren’t overwritten.

If you don’t use any of the naming options, the log is saved as:

AppleServerDiagnostics_serialnumber_mode_autosave_log.txt

If you’re testing locally, mode is replaced by “local.” If you’re testing remotely, mode is
replaced by “remote.”

background image

If you use all of the naming options, the log is saved as:

AppleServerDiagnostics_serialnumber_mode_autosave_log_date_ethernetMACaddress
uniquename.
txt

The appended values use this format:

Value

Format

Example

date

DD_Mon_Year

15_Jul_2009

ethernetMACaddress

##_##_##_##_##_##

01_23_45_67_89_ab

uniquename

- #

- 1

The unique name is appended only if a file with the same name exists.

A log for the local server with all naming options enabled (using the example values)
is saved as:

AppleServerDiagnostics_AB12345CD6E_local_autosave_log_15_
Jul_2009_01_23_45_67_89_ab - 1.txt

To set log preferences:

1

In Server Diagnostics Mac OS X, choose AppleServerDiagnostics > Preferences.

2

To automatically save test logs, select “Auto-save test log.”

If you don’t select this option, you can’t perform the steps that follow.

3

To choose the location of the automatically saved log, click “Choose auto-save

location,” select a location, and then click Open.

4

Configure the test log naming options.

To do this

Do this

Ensure newly created log files don’t overwrite old
log files

Select “Use unique name.”

Append the Ethernet address of the server that’s
being tested

Select “Append Ethernet Address.”

Append the run time and date of the session’s
first tests

Select “Append time and date.”

40

Chapter 4

Using Server Diagnostics

background image

Chapter 4

Using Server Diagnostics

41