[GNC] Gnucash logs
Chris Good
goodchris96 at gmail.com
Tue Apr 28 21:46:00 EDT 2020
-------- Original Message --------
From: Michael or Penny Novack <stepbystepfarm at comcast.net>
Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
To: "D." <sunfish62 at yahoo.com>
Cc: Gnucash Users <gnucash-user at gnucash.org>
Subject: Re: [GNC] Gnucash logs
On 4/27/2020 10:50 PM, D. wrote:
> Michael,
>
> I take your point; we users will often create duplicated file names for
different content. I believe that many users only keep one set of books. I
don't have any statistics on general GnuCash usage to be able to say whether
more users have one file or many.
>
> However, given that operating systems prevent identical file names to
> coexist in a folder, it would seem to me that there is a simple remedy
> to overlapping log files: per book log folder settings. In your case,
> business1financials/ledger.gnucash would use business1financials/logs
> and organization1financials/ledger.gnucash would use
> organization1financials/logs
>
> Problem solved.
>
Yes, but that is solving the problem by a different method (not writing the
log files to a dedicated directory for all log files but writing them into a
subdirectory of the directory containing the data file).
Would be easy for gnucash when starting to check for the existence of this
subdirectory, if not there, create it. Much as it checks for the existence
of a lock file.
Had THAT been suggested you would not have seen an objection from me.
But about "almost all users have only one set of books" I have to laugh.
If all those rare situations never existed, designing/writing software would
be a snap. Software solution have to ALWAYS work. A commonly quoted rule of
rule of thumb, 80% of the design/write time will be handling just 20% of the
cases, but in my experience, 50% of the time will be handling those that are
1% or less.
Michael
Hi,
I like the idea of putting logs in a 'log' subdirectory of the data file
folder and also putting the backups in a 'backup' subdirectory of the data
file folder. GnuCash would create these on startup if needed.
If I could get general approval in principle, I could even start work on it.
Regards, Chris Good
More information about the gnucash-user
mailing list