- set the log action for the log level "panic" of all devices to "fatal" (doing

it for the gui isn't enough)
This commit is contained in:
Volker Ruppert 2002-08-17 14:01:07 +00:00
parent 18dc3833a9
commit 7433d1d293

View File

@ -1,5 +1,5 @@
/////////////////////////////////////////////////////////////////////////
// $Id: term.cc,v 1.17 2002-08-15 10:02:18 vruppert Exp $
// $Id: term.cc,v 1.18 2002-08-17 14:01:07 vruppert Exp $
/////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2000 MandrakeSoft S.A.
@ -141,7 +141,7 @@ bx_gui_c::specific_init(bx_gui_c *th, int argc, char **argv, unsigned tilewidth,
UNUSED(bochs_icon_bits); // global variable
// the ask menu causes trouble
LOG_THIS setonoff(LOGLEV_PANIC, ACT_FATAL);
io->set_log_action(LOGLEV_PANIC, ACT_FATAL);
// logfile should be different from stderr, otherwise terminal mode
// really ends up having fun
if (!strcmp(bx_options.log.Ofilename->getptr(), "-"))