Lenovo BladeCenter HX5 Installation And User Manual page 95

Blade server
Table of Contents

Advertisement

################################################################################
#
# Init the logging system.
#
################################################################################
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"
}
################################################################################
#
#
#
#
#
#
#
#
#
#
#
.
Chapter 4
Configuring the blade server
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

7873787219101909

Table of Contents