[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bayonne-devel] Problems with slog without the trace module loaded.
From: |
David Sugar |
Subject: |
Re: [Bayonne-devel] Problems with slog without the trace module loaded. |
Date: |
Sat, 19 Jul 2003 16:39:57 -0400 |
User-agent: |
KMail/1.5 |
Trace enabled "debug" mode, and hence supports sending extended slog types
other than just errors. Using just --globalcall sets the default debug
level, and all debug messages are stripped rather than sent to syslog.
On Saturday 19 July 2003 10:44 am, Erik Enge wrote:
> 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.
>
>
>
> _______________________________________________
> Bayonne-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bayonne-devel
- [Bayonne-devel] Problems with slog without the trace module loaded., Erik Enge, 2003/07/19
- Re: [Bayonne-devel] Problems with slog without the trace module loaded.,
David Sugar <=
- [Bayonne-devel] Re: Problems with slog without the trace module loaded., Erik Enge, 2003/07/19
- Re: [Bayonne-devel] Re: Problems with slog without the trace module loaded., David Sugar, 2003/07/19
- [Bayonne-devel] Re: Problems with slog without the trace module loaded., Erik Enge, 2003/07/19
- [Bayonne-devel] Re: Problems with slog without the trace module loaded., Erik Enge, 2003/07/22
- [Bayonne-devel] Re: Problems with slog without the trace module loaded., Erik Enge, 2003/07/22
- [Bayonne-devel] Re: Problems with slog without the trace module loaded., Erik Enge, 2003/07/22