On Thursday 29 September 2005 1:17 pm, Derek Atkins wrote:
> > That's what I can't find - how to tell the scheme to accept a gchar
> > instead of
> > an int for gnc_set_log_level.
gnc_set_log_level, not gnc_set_log_level_global.
> Did you even look at gw-engine-spec.scm? Look for "gnc_set_log_le
Quoting Neil Williams <[EMAIL PROTECTED]>:
OK, that's where I've added new versions of these calls (using strings):
> gnc_set_log_level(MOD_BACKEND, GNC_LOG_DETAIL);
> gnc_set_log_level(MOD_ENGINE, GNC_LOG_DETAIL);
> gnc_set_log_level(MOD_IO, GNC
On Tuesday 27 September 2005 2:08 pm, Derek Atkins wrote:
> Neil Williams <[EMAIL PROTECTED]> writes:
> > gnc_set_logfile(f);
>
> Not done. It uses the default
The default is now no logging at all. The default target is stderr.
There is a recommended call - qof_log_set_default()
On Wednesday 28 September 2005 3:02 pm, Derek Atkins wrote:
> Quoting Neil Williams <[EMAIL PROTECTED]>:
> > On Wednesday 28 September 2005 1:50 pm, Derek Atkins wrote:
> >> Perhaps qof can just use the "gnome application" name? I thought
> >> gnome had some way to determine the name of the curren
Quoting Neil Williams <[EMAIL PROTECTED]>:
On Wednesday 28 September 2005 1:50 pm, Derek Atkins wrote:
Perhaps qof can just use the "gnome application" name? I thought
gnome had some way to determine the name of the current app? Can qof
use that?
Good idea - I use the automake macro PACKAGE
On Wednesday 28 September 2005 1:50 pm, Derek Atkins wrote:
> Perhaps qof can just use the "gnome application" name? I thought
> gnome had some way to determine the name of the current app? Can qof
> use that?
Good idea - I use the automake macro PACKAGE elsewhere. I'll do that.
--
Neil Willi
Neil Williams <[EMAIL PROTECTED]> writes:
> On Tuesday 27 September 2005 2:08 pm, Derek Atkins wrote:
>> Neil Williams <[EMAIL PROTECTED]> writes:
>> > gnc_set_logfile(f);
>>
>> Not done. It uses the default
>
> It'll need to be done with this change - the default was gnucash.trac
On Tuesday 27 September 2005 2:08 pm, Derek Atkins wrote:
> Neil Williams <[EMAIL PROTECTED]> writes:
> > gnc_set_logfile(f);
>
> Not done. It uses the default
It'll need to be done with this change - the default was gnucash.trace and
this change is to make the trace less gnucash
Neil Williams <[EMAIL PROTECTED]> writes:
> gnc_set_logfile(f);
Not done. It uses the default
> gnc_log_init();
This is in gnc-engine.c and self-tested in gnc-trace.c
> gnc_set_log_level(MOD_BACKEND, GNC_LOG_DETAIL);
> gnc_set_lo
On Tuesday 27 September 2005 3:34 am, David Hampton wrote:
> > > Make gnc_log_modules (which is probably best as just a default) into a
> > > setup call for a GHashTable and dump gncModuleType altogether?
> >
> > Sure, that'd work. Probably best to have module identifiers be strings
> > rather tha
On Mon, 2005-09-26 at 21:34 -0400, Josh Sled wrote:
> On Sun, 2005-09-25 at 18:51 +0100, Neil Williams wrote:
> > I'm looking again at gnc-trace because I want to make it less GnuCash
> > specific.
> [deletia]
> > Make gnc_log_modules (which is probably best as just a default) into a
> > setup
>
On Sun, 2005-09-25 at 18:51 +0100, Neil Williams wrote:
> I'm looking again at gnc-trace because I want to make it less GnuCash
> specific.
[deletia]
> Make gnc_log_modules (which is probably best as just a default) into a setup
> call for a GHashTable and dump gncModuleType altogether?
Sure, th
I'm looking again at gnc-trace because I want to make it less GnuCash
specific.
I feel we need to let any QOF application create their own traces with their
own list of modules and not force MOD_GUI, MOD_LOT, MOD_ACCOUNT,
MOD_SX and others onto other applications.
In cashutil, I've been using
13 matches
Mail list logo