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.

David T. 

P.S. If I used the same file name for multiple gnucash entities like that, I'm 
pretty sure I'd go to jail for commingling the accounts-- because for sure I'd 
enter data for one entity in the books for the other. ;)


-------- Original Message --------
From: Michael or Penny Novack <stepbystepf...@comcast.net>
Sent: Tue Apr 28 03:51:52 GMT+05:30 2020
To: "D." <sunfis...@yahoo.com>
Cc: Gnucash Users <gnucash-user@gnucash.org>
Subject: Re: [GNC] Gnucash logs

On 4/27/2020 12:47 PM, D. wrote:
> However, the preference setting and storage location of log files is 
> comparing apples and oranges, regardless of whether the setting works or not. 
> Many people want to have their primary data file in one folder (if you take 
> the uservoice data as any indication), and their log files placed elsewhere, 
> available in an emergency, but tucked away out of sight. Sort of like a 
> toilet.
>
> It's too bad the RFE had never been taken up. It doesn't seem like it would 
> be that insurmountable to achieve.
>
> David T.
>
Yes, I understand that, but please look at what I wrote about the issues.

Your say "their file" but the general case is files (plural) and while 
the names might be distinct they might not be. For example, could be 
"....ledger.gnucash" in all cases, one being in the directory 
business1financials, one being in organization1financials, one being in 
personalbooks, etc.  That would work just fine. But what would happen if 
gnucash wrote log files  (and the lock file) in some place other as you 
think would be good.

How would you (or gnucash) know which file was open (which had lock) or 
if wanting to restore, which log file?

Yes I know, if people wisely chose not to do that (not to allow name 
duplication) what you want would work, but I did this for a living and 
trying to prevent users getting in to trouble part of that. If you think 
same name strange, I keep books for several entities. Each entity has 
its own directory, but the gnucash data file is usually just 
booksyear.gnucash and the exported reports names like 
balancesheetfiscaldate.html << the year is just because I make a copy 
after YE named for the new year and can make the old one read only >>

Michael



_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to