bayonne-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bayonne-devel] Problems with slog without the trace module loaded.


From: Erik Enge
Subject: [Bayonne-devel] Problems with slog without the trace module loaded.
Date: Sat, 19 Jul 2003 10:44:54 -0400
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Portable Code, linux)

I have this script I call testlog.scr:

   sleep 2
   answer
   slog.debug "debug"
   slog.info "info"
   slog.err "error"
   slog.crit "crit"
   exit

When I start bayonne (1.2.6) with `bayonne --globalcall --trace` I get
the following and many other things in my /var/log/erik file (which is
set to receive *.*):

  Jul 19 16:13:01 oslo bayonne: dx(0): attach script
  Jul 19 16:13:01 oslo bayonne: dx(0): step 3 sleep(2)
  Jul 19 16:13:01 oslo bayonne: dx(0): sleep
  Jul 19 16:13:03 oslo bayonne: dx(0): step 3 answer()
  Jul 19 16:13:03 oslo bayonne: dx(0): answer
  Jul 19 16:13:03 oslo bayonne: dx(0): step 3 slog.debug(debug)
  Jul 19 16:13:03 oslo bayonne: dx(0): testlog: debug
  Jul 19 16:13:03 oslo bayonne: dx(0): step 3 slog.info(info)
  Jul 19 16:13:03 oslo bayonne: dx(0): testlog: info
  Jul 19 16:13:04 oslo bayonne: dx(0): step 3 slog.err(error)
  Jul 19 16:13:04 oslo bayonne: dx(0): testlog: error
  Jul 19 16:13:04 oslo bayonne: dx(0): step 3 slog.crit(crit)
  Jul 19 16:13:04 oslo bayonne: dx(0): testlog: crit
  Jul 19 16:13:04 oslo bayonne: dx(0): step 3 exit()
  Jul 19 16:13:04 oslo bayonne: dx(0): exit
  Jul 19 16:13:04 oslo bayonne: dx(0): script exiting
  
Excellent.  Everything I would expect in a trace situation.  However,
observe the following when I start it with `bayonne --globalcall`:
  
  Jul 19 16:13:44 oslo bayonne: dx(0): testlog: error
  Jul 19 16:13:44 oslo bayonne: dx(0): testlog: crit

I would've expected to see all four slog calls.  Why is this not the
case, am I missing something?

Erik.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]