Lenovo BladeCenter HX5 7873 Problem Determination And Service Manual page 49

Blade server
Table of Contents

Advertisement

#
################################################################################
proc log_init { display_stdout } {
global fm_logfile
if {$display_stdout == 0} {
log_user 1
}
set fm_logfile "/tmp/expect_logs.txt"
}
################################################################################
#
# Log to a directory.
#
################################################################################
proc log_init_directory { directory } {
global fm_logfile
set fm_logfile "$directory/ExpectLogs.txt"
exp_internal -f $directory/ExpectDiag.txt 0
}
################################################################################
#
# Temp hack.
#
################################################################################
proc log_init_custom { logfile } {
global fm_logfile
global g_module_name
global g_test_results_base_dir
#
# Cache the module name.
#
set g_module_name $logfile
#
# Figure out the logfile path.
#
test_results_set_base_dir
#
# Set it.
#
set fm_logfile "$g_test_results_base_dir/Logfile.txt"
}
################################################################################
#
# Capture a log message with a nice time stamp.
#
################################################################################
#
#
#
#
#
#
#
#
#
#
.
Chapter 2
Configuring the blade server
33

Advertisement

Table of Contents
loading

Table of Contents