[Gambas-user] Catching ,messages in gb.db
David Villalobos Cambronero
david_villalobos_c at ...43...
Sat Sep 20 20:06:14 CEST 2008
No, let see, if I set DB.Debug = True, then all messages from gb.db will be sent automatically to the the standard error output, I want to tell Gambas that the standard error output is a file, I read something about ERROR TO Stream, but couldn't get it, any idea?
Regards
--
David
----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Saturday, September 20, 2008 8:53:14 AM
Subject: Re: [Gambas-user] Catching ,messages in gb.db
On samedi 20 septembre 2008, David Villalobos Cambronero wrote:
> Hi all,
>
> If I made DB.Debug = True, then all statements executed by the component
> will be sent the standard error output, but I need to save those messages
> into a file, I tried to redirect the error output but I couldn't, any help?
>
>
> Best regards
>
>
> --
> David
>
You should be able to do that with "2>&1" in a shell. What's the problem with
that?
--
Benoit Minisini
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Gambas-user mailing list
Gambas-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list