Re: [GNC] Gnucash logs

2020-05-06 Thread John Ralls


> On May 5, 2020, at 9:58 PM, Chris Good  wrote:
> 
> 
> 
> Does anyone else have some input?
> 
> If this is going to be ready for GnuCash 4.0 due 20 June 2020, I need to get 
> started ASAP. Otherwise, it 
> 
> won’t be available till 5.0 which is not listed in 
> https://wiki.gnucash.org/wiki/Release_Schedule
> 
> but 4.11 is planned for 2022-12-18.
> 

Feature freeze is the next beta release on 31 May, and you'll need to allow 
some time for your PR to get reviewed.

Regards,
John Ralls

___
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.


Re: [GNC] Gnucash logs

2020-05-05 Thread Chris Good
From: Geert Janssens  
Sent: Thursday, 30 April 2020 7:24 PM
To: gnucash-user@gnucash.org
Cc: Chris Good ; 'David T.' ; 
'David H' 
Subject: Re: [GNC] Gnucash logs

 

Op donderdag 30 april 2020 06:04:10 CEST schreef Chris Good:

> Hi Geert,

> 

> 

> 

> I think options 2-5 are too disruptive and more work than the benefits

> deserve.

> 

> 

> 

> Re option 1,

> 

> I’d prefer to put logs and backups in separate folders. Maybe (going with

> your name) book.dir/backup and book.dir/log. Many people seem to be

> confused about what all these long filenames are when mixed together.

> 

I see I didn't mention this, but that making separate subdirectories for those 
was also intended in my suggestion.

> 

> 

> Also putting the metadata (book.gcm) in book.dir would make if hard to

> notice, so I think it should be in the folder holding book.gnucash (or

> maybe a separate ‘metadata’ subfolder as some people think the metadata

> file is their book).

 

I'm not decided on whether this is a good idea yet. I was throwing it in for 
further consideration. Note that if we do switch to a model with a data file 
and associated directory for other stuff, the metadata file could just be 
called that - metadata.gcm. It's already in the directory with the same name as 
the book. No need to keep that file itself named as the book is.

 

For that matter even the log and backups files could be reduced in file name 
length to only the timestamp. The same applies, the base directory (book.dir) 
uniquely identifies which book they belong to.

 

> 

> Not having all the metadata files for multiple books in the same folder

> means it is more fiddly to share metadata between multiple books by giving

> the books the same name (books in different directories) but there is

> probably nobody doing that anyway (as it is easy to get confused about

> which book is open).

> 

Well, actually you can't. GnuCash has guards in place that make each file name 
in the current metadata directory unique. The filename is just a first 
indication. The actual match between your book and the metadata file is done by 
comparing the root account's GUID in your book with the GUID stored in the 
metadata file.

So if you would have two books named "book.gnucash", you will end up with a 
"books.gcm" and a "books-1.gcm" metadata file. As they are created for diferent 
books, they will both store a unique GUID. When opening either book, gnucash 
will check both metadata files for the one that has your book's GUID stored in 
it.

 

And yes, you could thus circumvent that safety measure by manipulating your 
books to have the same root account GUID. But that's not what the system was 
designed for so we can ignore that hack in this discussion :)

 

Regards,

 

Geert

> 

> 

> Regards,

> 

> Chris Good

> 

> From: Geert Janssens  <mailto:geert.gnuc...@kobaltwit.be> >

> Sent: Wednesday, 29 April 2020 7:57 PM

> To: gnucash-user@gnucash.org <mailto:gnucash-user@gnucash.org> 

> Cc: Chris Good mailto:goodchri...@gmail.com> >; 
> 'David T.' mailto:sunfis...@yahoo.com> >;

> 'David H' mailto:hell...@gmail.com> > Subject: Re: [GNC] 
> Gnucash logs

> 

> Hi,

> 

> For the file based books (xml and sqlite) there are several approaches:

> 

> 1. Have a book.gnucash and a book.dir side by side, per book you create.

> 

> book.gnucash is your actual data file.

> 

> book.dir is a directory containing extra files related to this data file.

> These include log files, backup files and can potentially be extended to

> hold attachments and possibly book metadata

> 

> Advantages:

> 

> - all data related to one book is stored together in one place. No

> intermingling of (meta)data with other books. Makes it easy to move a book

> to somewhere else

> 

> - as the main book is outside of the the directory it's easy to spot your

> book to open it.

> 

> Disadvantage: per book you will have two items: a file and a directory. At

> the file management level you always have to treat them as one (move them

> together, back them up together,...)

> 

> 2. Have a directory book.gnucash and store all data in there in a structured

> form (logs in their own subdirectory,...). To save a book, you enter the

> book's name and gnucash will create that directory for you. Inside the

> directory your book will now have a generic name (as the directory already

> indicates the unique name) as would log files and backup files. To open a

> book, you select the directory in gnucash and it will open the actual book

> inside of it for you. Backup management could be integrated in gnucash.

> 

> Advantages:

> 

> - like option 1, all data related to a single b

Re: [GNC] Gnucash logs

2020-04-30 Thread Geert Janssens
Op donderdag 30 april 2020 06:04:10 CEST schreef Chris Good:
> Hi Geert,
> 
> 
> 
> I think options 2-5 are too disruptive and more work than the benefits
> deserve.
> 
> 
> 
> Re option 1,
> 
> I’d prefer to put logs and backups in separate folders. Maybe (going with
> your name) book.dir/backup and book.dir/log. Many people seem to be
> confused about what all these long filenames are when mixed together.
> 
I see I didn't mention this, but that making separate subdirectories for those 
was also intended 
in my suggestion.
> 
> 
> Also putting the metadata (book.gcm) in book.dir would make if hard to
> notice, so I think it should be in the folder holding book.gnucash (or
> maybe a separate ‘metadata’ subfolder as some people think the metadata
> file is their book).

I'm not decided on whether this is a good idea yet. I was throwing it in for 
further consideration. 
Note that if we do switch to a model with a data file and associated directory 
for other stuff, the 
metadata file could just be called that - metadata.gcm. It's already in the 
directory with the 
same name as the book. No need to keep that file itself named as the book is.

For that matter even the log and backups files could be reduced in file name 
length to only the 
timestamp. The same applies, the base directory (book.dir) uniquely identifies 
which book they 
belong to.

> 
> Not having all the metadata files for multiple books in the same folder
> means it is more fiddly to share metadata between multiple books by giving
> the books the same name (books in different directories) but there is
> probably nobody doing that anyway (as it is easy to get confused about
> which book is open).
> 
Well, actually you can't. GnuCash has guards in place that make each file name 
in the current 
metadata directory unique. The filename is just a first indication. The actual 
match between 
your book and the metadata file is done by comparing the root account's GUID in 
your book with 
the GUID stored in the metadata file.
So if you would have two books named "book.gnucash", you will end up with a 
"books.gcm" and 
a "books-1.gcm" metadata file. As they are created for diferent books, they 
will both store a 
unique GUID. When opening either book, gnucash will check both metadata files 
for the one that 
has your book's GUID stored in it.

And yes, you could thus circumvent that safety measure by manipulating your 
books to have 
the same root account GUID. But that's not what the system was designed for so 
we can ignore 
that hack in this discussion :)

Regards,

Geert
> 
> 
> Regards,
> 
> Chris Good
> 
> 
> 
> From: Geert Janssens 
> Sent: Wednesday, 29 April 2020 7:57 PM
> To: gnucash-user@gnucash.org
> Cc: Chris Good ; 'David T.' ;
> 'David H'  Subject: Re: [GNC] Gnucash logs
> 
> 
> 
> Hi,
> 
> 
> 
> For the file based books (xml and sqlite) there are several approaches:
> 
> 
> 
> 1. Have a book.gnucash and a book.dir side by side, per book you create.
> 
> book.gnucash is your actual data file.
> 
> book.dir is a directory containing extra files related to this data file.
> These include log files, backup files and can potentially be extended to
> hold attachments and possibly book metadata
> 
> Advantages:
> 
> - all data related to one book is stored together in one place. No
> intermingling of (meta)data with other books. Makes it easy to move a book
> to somewhere else
> 
> - as the main book is outside of the the directory it's easy to spot your
> book to open it.
> 
> Disadvantage: per book you will have two items: a file and a directory. At
> the file management level you always have to treat them as one (move them
> together, back them up together,...)
> 
> 
> 
> 2. Have a directory book.gnucash and store all data in there in a structured
> form (logs in their own subdirectory,...). To save a book, you enter the
> book's name and gnucash will create that directory for you. Inside the
> directory your book will now have a generic name (as the directory already
> indicates the unique name) as would log files and backup files. To open a
> book, you select the directory in gnucash and it will open the actual book
> inside of it for you. Backup management could be integrated in gnucash.
> 
> Advantages:
> 
> - like option 1, all data related to a single book is encapsulated closely
> together.
> 
> - only one single element on the file system level to remember: the book.dir
> is your book. Makes it slightly easier to move things around, make backups
> and so on.
___
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.


Re: [GNC] Gnucash logs

2020-04-29 Thread Chris Good
Hi Geert,

 

I think options 2-5 are too disruptive and more work than the benefits deserve.

 

Re option 1,

I’d prefer to put logs and backups in separate folders. Maybe (going with your 
name) book.dir/backup and book.dir/log. Many people seem to be confused about 
what all these long filenames are when mixed together.

 

Also putting the metadata (book.gcm) in book.dir would make if hard to notice, 
so I think it should be in the folder holding book.gnucash (or maybe a separate 
‘metadata’ subfolder as some people think the metadata file is their book).

Not having all the metadata files for multiple books in the same folder means 
it is more fiddly to share metadata between multiple books by giving the books 
the same name (books in different directories) but there is probably nobody 
doing that anyway (as it is easy to get confused about which book is open).

 

Regards,

Chris Good

 

From: Geert Janssens  
Sent: Wednesday, 29 April 2020 7:57 PM
To: gnucash-user@gnucash.org
Cc: Chris Good ; 'David T.' ; 
'David H' 
Subject: Re: [GNC] Gnucash logs

 

Hi,

 

For the file based books (xml and sqlite) there are several approaches:

 

1. Have a book.gnucash and a book.dir side by side, per book you create.

book.gnucash is your actual data file.

book.dir is a directory containing extra files related to this data file. These 
include log files, backup files and can potentially be extended to hold 
attachments and possibly book metadata

Advantages:

- all data related to one book is stored together in one place. No 
intermingling of (meta)data with other books. Makes it easy to move a book to 
somewhere else

- as the main book is outside of the the directory it's easy to spot your book 
to open it.

Disadvantage: per book you will have two items: a file and a directory. At the 
file management level you always have to treat them as one (move them together, 
back them up together,...)

 

2. Have a directory book.gnucash and store all data in there in a structured 
form (logs in their own subdirectory,...). To save a book, you enter the book's 
name and gnucash will create that directory for you. Inside the directory your 
book will now have a generic name (as the directory already indicates the 
unique name) as would log files and backup files. To open a book, you select 
the directory in gnucash and it will open the actual book inside of it for you. 
Backup management could be integrated in gnucash.

Advantages:

- like option 1, all data related to a single book is encapsulated closely 
together.

- only one single element on the file system level to remember: the book.dir is 
your book. Makes it slightly easier to move things around, make backups and so 
on.

Disadvantage: double-clicking a file to open it in gnucash will no longer work. 
The file manager will just open the directory for you and the data in there is 
now private to gnucash. You could argue that you can make a double-click on the 
book file inside the directory would then open gnucash for you. It could at the 
expense of vastly more complicated load code. It now has to check for both a 
file or directory being opened and do the right thing in both cases.

 

3 Same as 2, except this time the directory will be zipped.

Advantages:

- like option 1, all data related to a single book is encapsulated closely 
together.

- only one single element on the file system level to remember: the book.dir is 
your book. Makes it slightly easier to move things around, make backups and so 
on.

- double-click would work again

Disadvantages:

- The single file could become rather huge. Particularly if you also choose to 
include the attachments in there

- Manual backup and log management becomes harder (one has to know how to unzip 
the gnucash file, akin to how libreoffice documents are zipped up directories)

- Embedding backups directly in the data file feels wrong.

 

4. The approach where one single global log directory is created (like in 
GNC_DATA_DIR) and one single global backup directory. All log and backup files 
will be written to these global directories.

Advantages:

- the directory containing your book(s) will be fully uncluttered. It will 
effectively only contain your book(s). No more backups or logs. So easy on the 
eye and easy to understand. As you don't need backups often, you can find them 
when needed.

Disadvantages:

- your book and its backups get separated. So if you need to manage your 
backups you have to search for them in another directory

- if you have multiple books the logs/backups of all books get lumped together. 
For backup or cleanup purposes this is more messy. You have to take care to 
only select the backups/logs for the books you are interested in.

- a real risk of file name clashes. If you have two same-named books in 
separate directories, their logs and backups will overlap or even conflict. 
There are technical solutions for this (we use one for the metadata files) but 
it's cludgy.

 

5

Re: [GNC] Gnucash logs

2020-04-29 Thread Geert Janssens
 they 
don't have the 
same clutter problems wrt to backups. But they do also write log files (for 
those who don't know, 
you will find them in GNC_DATA_DIR/translog).

Regards,

Geert

Op woensdag 29 april 2020 08:54:22 CEST schreef Chris Good:
> -Original Message-
> From: David T. 
> Sent: Wednesday, 29 April 2020 4:11 PM
> To: Chris Good ; 'David H' 
> Cc: 'Gnucash Users' 
> Subject: Re: [GNC] Gnucash logs
> 
> If the setting were per book and user-configurable, then a user could choose
> to set each data file to use a different set of folders, by changing the
> file default from "logs" to "logs-file1"
> 
> Does the Attachments functionality provide a blueprint for how this could
> work for backups and logs? It seems to me that there is a setting somewhere
> that allows the user to point to a particular folder for external file
> association (although my attempts at locating that setting have failed).
> 
> But your point about the logs and backups having different filenames is apt
> as well.
> 
> David T.
> 
> On 4/29/2020 8:55 AM, Chris Good wrote:
> > From: David H 
> > Sent: Wednesday, 29 April 2020 12:49 PM
> > To: Chris Good 
> > Cc: Gnucash Users 
> > Subject: Re: [GNC] Gnucash logs
> > 
> > 
> > 
> > Chris,
> > 
> > 
> > 
> > How would you see this working with my 2 data files that I have in the
> > same gnucash folder ???  Would the subdirectory(ies) include the name of
___
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.


Re: [GNC] Gnucash logs

2020-04-29 Thread D. via gnucash-user
Chris,

No doubt I agree that your approach is easier, but... users aren't going to 
follow that. As I am not going to be the one coding, I can only offer 
observations. If you build out, you get to decide how it works. 

David T. 


 Original Message 
From: Chris Good 
Sent: Wed Apr 29 12:24:22 GMT+05:30 2020
To: "'David T.'" , 'David H' 
Cc: 'Gnucash Users' 
Subject: RE: [GNC] Gnucash logs

-Original Message-
From: David T.  
Sent: Wednesday, 29 April 2020 4:11 PM
To: Chris Good ; 'David H' 
Cc: 'Gnucash Users' 
Subject: Re: [GNC] Gnucash logs

If the setting were per book and user-configurable, then a user could choose to 
set each data file to use a different set of folders, by changing the file 
default from "logs" to "logs-file1"

Does the Attachments functionality provide a blueprint for how this could work 
for backups and logs? It seems to me that there is a setting somewhere that 
allows the user to point to a particular folder for external file association 
(although my attempts at locating that setting have failed).

But your point about the logs and backups having different filenames is apt as 
well.

David T.

On 4/29/2020 8:55 AM, Chris Good wrote:

> From: David H 
> Sent: Wednesday, 29 April 2020 12:49 PM
> To: Chris Good 
> Cc: Gnucash Users 
> Subject: Re: [GNC] Gnucash logs
>
>   
>
> Chris,
>
>   
>
> How would you see this working with my 2 data files that I have in the same 
> gnucash folder ???  Would the subdirectory(ies) include the name of the data 
> file to clearly identify them or would all log/backup files be lumped in 
> together in a single subdirectory ?  When I save my gnucash file under 
> another name using save as would it create the required subdirectories for 
> the new data file if they are separate subdirectories ?
>
>   
>
> My own situation is that I've set the log files to be deleted after 30 days 
> which seems to work on Mac Catalina.  My data files are in a dedicated folder 
> in my Documents folder and I must confess that I have NEVER had a need to go 
> looking for backup files or log files since starting with Gnucash in 2010.
>
>   
>
> Cheers David Halverson.
>
>   
>
> On Wed, 29 Apr 2020 at 11:48, Chris Good  <mailto:goodchri...@gmail.com> > wrote:
>
>  Original Message 
> From: Michael or Penny Novack  <mailto:stepbystepf...@comcast.net> >
> Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
> To: "D." mailto:sunfis...@yahoo.com> >
> Cc: Gnucash Users  <mailto:gnucash-user@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
>
> ___
>
>
>
> Hi David H,
>
>   
>
> T

Re: [GNC] Gnucash logs

2020-04-29 Thread Chris Good
-Original Message-
From: David T.  
Sent: Wednesday, 29 April 2020 4:11 PM
To: Chris Good ; 'David H' 
Cc: 'Gnucash Users' 
Subject: Re: [GNC] Gnucash logs

If the setting were per book and user-configurable, then a user could choose to 
set each data file to use a different set of folders, by changing the file 
default from "logs" to "logs-file1"

Does the Attachments functionality provide a blueprint for how this could work 
for backups and logs? It seems to me that there is a setting somewhere that 
allows the user to point to a particular folder for external file association 
(although my attempts at locating that setting have failed).

But your point about the logs and backups having different filenames is apt as 
well.

David T.

On 4/29/2020 8:55 AM, Chris Good wrote:

> From: David H 
> Sent: Wednesday, 29 April 2020 12:49 PM
> To: Chris Good 
> Cc: Gnucash Users 
> Subject: Re: [GNC] Gnucash logs
>
>   
>
> Chris,
>
>   
>
> How would you see this working with my 2 data files that I have in the same 
> gnucash folder ???  Would the subdirectory(ies) include the name of the data 
> file to clearly identify them or would all log/backup files be lumped in 
> together in a single subdirectory ?  When I save my gnucash file under 
> another name using save as would it create the required subdirectories for 
> the new data file if they are separate subdirectories ?
>
>   
>
> My own situation is that I've set the log files to be deleted after 30 days 
> which seems to work on Mac Catalina.  My data files are in a dedicated folder 
> in my Documents folder and I must confess that I have NEVER had a need to go 
> looking for backup files or log files since starting with Gnucash in 2010.
>
>   
>
> Cheers David Halverson.
>
>   
>
> On Wed, 29 Apr 2020 at 11:48, Chris Good  <mailto:goodchri...@gmail.com> > wrote:
>
>  Original Message 
> From: Michael or Penny Novack  <mailto:stepbystepf...@comcast.net> >
> Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
> To: "D." mailto:sunfis...@yahoo.com> >
> Cc: Gnucash Users  <mailto:gnucash-user@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
>
> ___
>
>
>
> Hi David H,
>
>   
>
> The backup filenames and log filenames already include the book name and I 
> see no reason to change that.
>
> People could still have multiple books in the same directory, although I 
> suggest best practice is to put each book’s data file in a separate directory.
>
>   
>
> Regards, Chris Good
>

Hi David T,

Adding  new options and a directory selection dialog seems like a lot of extra 
work, 

Re: [GNC] Gnucash logs

2020-04-29 Thread David H
It is a real mouthful :-)

On Wed, 29 Apr 2020 at 16:53, David T.  wrote:

> Thanks. Don't know why I couldn't see that before. I guess the terminology
> didn't register in my  mind.
> On 4/29/2020 11:59 AM, David H wrote:
>
> David T.,
>
> Preferences >> General >> Path Head for Transaction Association Files is
> probably the setting you're looking for :-)
>
> Cheers David H.
>
>
> On Wed, 29 Apr 2020 at 16:12, David T.  wrote:
>
>> If the setting were per book and user-configurable, then a user could
>> choose to set each data file to use a different set of folders, by
>> changing the file default from "logs" to "logs-file1"
>>
>> Does the Attachments functionality provide a blueprint for how this
>> could work for backups and logs? It seems to me that there is a setting
>> somewhere that allows the user to point to a particular folder for
>> external file association (although my attempts at locating that setting
>> have failed).
>>
>> But your point about the logs and backups having different filenames is
>> apt as well.
>>
>> David T.
>>
>> On 4/29/2020 8:55 AM, Chris Good wrote:
>>
>> > From: David H 
>> > Sent: Wednesday, 29 April 2020 12:49 PM
>> > To: Chris Good 
>> > Cc: Gnucash Users 
>> > Subject: Re: [GNC] Gnucash logs
>> >
>> >
>> >
>> > Chris,
>> >
>> >
>> >
>> > How would you see this working with my 2 data files that I have in the
>> same gnucash folder ???  Would the subdirectory(ies) include the name of
>> the data file to clearly identify them or would all log/backup files be
>> lumped in together in a single subdirectory ?  When I save my gnucash file
>> under another name using save as would it create the required
>> subdirectories for the new data file if they are separate subdirectories ?
>> >
>> >
>> >
>> > My own situation is that I've set the log files to be deleted after 30
>> days which seems to work on Mac Catalina.  My data files are in a dedicated
>> folder in my Documents folder and I must confess that I have NEVER had a
>> need to go looking for backup files or log files since starting with
>> Gnucash in 2010.
>> >
>> >
>> >
>> > Cheers David Halverson.
>> >
>> >
>> >
>> > On Wed, 29 Apr 2020 at 11:48, Chris Good > <mailto:goodchri...@gmail.com> > wrote:
>> >
>> >  Original Message 
>> > From: Michael or Penny Novack > stepbystepf...@comcast.net> >
>> > Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
>> > To: "D." mailto:sunfis...@yahoo.com> >
>> > Cc: Gnucash Users > gnucash-user@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% 

Re: [GNC] Gnucash logs

2020-04-29 Thread David T. via gnucash-user
Thanks. Don't know why I couldn't see that before. I guess the 
terminology didn't register in my  mind.


On 4/29/2020 11:59 AM, David H wrote:

David T.,

Preferences >> General >> Path Head for Transaction Association Files 
is probably the setting you're looking for :-)


Cheers David H.


On Wed, 29 Apr 2020 at 16:12, David T. <mailto:sunfis...@yahoo.com>> wrote:


If the setting were per book and user-configurable, then a user could
choose to set each data file to use a different set of folders, by
changing the file default from "logs" to "logs-file1"

Does the Attachments functionality provide a blueprint for how this
could work for backups and logs? It seems to me that there is a
setting
somewhere that allows the user to point to a particular folder for
external file association (although my attempts at locating that
setting
have failed).

But your point about the logs and backups having different
filenames is
apt as well.

David T.

On 4/29/2020 8:55 AM, Chris Good wrote:

> From: David H mailto:hell...@gmail.com>>
> Sent: Wednesday, 29 April 2020 12:49 PM
> To: Chris Good mailto:goodchri...@gmail.com>>
> Cc: Gnucash Users mailto:gnucash-user@gnucash.org>>
> Subject: Re: [GNC] Gnucash logs
>
>
>
> Chris,
>
>
>
> How would you see this working with my 2 data files that I have
in the same gnucash folder ???  Would the subdirectory(ies)
include the name of the data file to clearly identify them or
would all log/backup files be lumped in together in a single
subdirectory ?  When I save my gnucash file under another name
using save as would it create the required subdirectories for the
new data file if they are separate subdirectories ?
>
>
>
> My own situation is that I've set the log files to be deleted
after 30 days which seems to work on Mac Catalina.  My data files
are in a dedicated folder in my Documents folder and I must
confess that I have NEVER had a need to go looking for backup
files or log files since starting with Gnucash in 2010.
>
>
>
> Cheers David Halverson.
>
>
>
> On Wed, 29 Apr 2020 at 11:48, Chris Good mailto:goodchri...@gmail.com> <mailto:goodchri...@gmail.com
<mailto:goodchri...@gmail.com>> > wrote:
>
>  Original Message 
> From: Michael or Penny Novack mailto:stepbystepf...@comcast.net>
<mailto:stepbystepf...@comcast.net
<mailto:stepbystepf...@comcast.net>> >
> Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
> To: "D." mailto:sunfis...@yahoo.com>
<mailto:sunfis...@yahoo.com <mailto:sunfis...@yahoo.com>> >
> Cc: Gnucash Users mailto:gnucash-user@gnucash.org> <mailto:gnucash-user@gnucash.org
<mailto:gnucash-user@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 wi

Re: [GNC] Gnucash logs

2020-04-29 Thread David H
David T.,

Preferences >> General >> Path Head for Transaction Association Files is
probably the setting you're looking for :-)

Cheers David H.


On Wed, 29 Apr 2020 at 16:12, David T.  wrote:

> If the setting were per book and user-configurable, then a user could
> choose to set each data file to use a different set of folders, by
> changing the file default from "logs" to "logs-file1"
>
> Does the Attachments functionality provide a blueprint for how this
> could work for backups and logs? It seems to me that there is a setting
> somewhere that allows the user to point to a particular folder for
> external file association (although my attempts at locating that setting
> have failed).
>
> But your point about the logs and backups having different filenames is
> apt as well.
>
> David T.
>
> On 4/29/2020 8:55 AM, Chris Good wrote:
>
> > From: David H 
> > Sent: Wednesday, 29 April 2020 12:49 PM
> > To: Chris Good 
> > Cc: Gnucash Users 
> > Subject: Re: [GNC] Gnucash logs
> >
> >
> >
> > Chris,
> >
> >
> >
> > How would you see this working with my 2 data files that I have in the
> same gnucash folder ???  Would the subdirectory(ies) include the name of
> the data file to clearly identify them or would all log/backup files be
> lumped in together in a single subdirectory ?  When I save my gnucash file
> under another name using save as would it create the required
> subdirectories for the new data file if they are separate subdirectories ?
> >
> >
> >
> > My own situation is that I've set the log files to be deleted after 30
> days which seems to work on Mac Catalina.  My data files are in a dedicated
> folder in my Documents folder and I must confess that I have NEVER had a
> need to go looking for backup files or log files since starting with
> Gnucash in 2010.
> >
> >
> >
> > Cheers David Halverson.
> >
> >
> >
> > On Wed, 29 Apr 2020 at 11:48, Chris Good  goodchri...@gmail.com> > wrote:
> >
> >  Original Message 
> > From: Michael or Penny Novack  stepbystepf...@comcast.net> >
> > Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
> > To: "D." mailto:sunfis...@yahoo.com> >
> > Cc: Gnucash Users  gnucash-user@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
> >
> > ___

Re: [GNC] Gnucash logs

2020-04-29 Thread David T. via gnucash-user
If the setting were per book and user-configurable, then a user could 
choose to set each data file to use a different set of folders, by 
changing the file default from "logs" to "logs-file1"


Does the Attachments functionality provide a blueprint for how this 
could work for backups and logs? It seems to me that there is a setting 
somewhere that allows the user to point to a particular folder for 
external file association (although my attempts at locating that setting 
have failed).


But your point about the logs and backups having different filenames is 
apt as well.


David T.

On 4/29/2020 8:55 AM, Chris Good wrote:


From: David H 
Sent: Wednesday, 29 April 2020 12:49 PM
To: Chris Good 
Cc: Gnucash Users 
Subject: Re: [GNC] Gnucash logs

  


Chris,

  


How would you see this working with my 2 data files that I have in the same 
gnucash folder ???  Would the subdirectory(ies) include the name of the data 
file to clearly identify them or would all log/backup files be lumped in 
together in a single subdirectory ?  When I save my gnucash file under another 
name using save as would it create the required subdirectories for the new data 
file if they are separate subdirectories ?

  


My own situation is that I've set the log files to be deleted after 30 days 
which seems to work on Mac Catalina.  My data files are in a dedicated folder 
in my Documents folder and I must confess that I have NEVER had a need to go 
looking for backup files or log files since starting with Gnucash in 2010.

  


Cheers David Halverson.

  


On Wed, 29 Apr 2020 at 11:48, Chris Good mailto:goodchri...@gmail.com> > wrote:

 Original Message 
From: Michael or Penny Novack mailto:stepbystepf...@comcast.net> >
Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
To: "D." mailto:sunfis...@yahoo.com> >
Cc: Gnucash Users mailto:gnucash-user@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

___



Hi David H,

  


The backup filenames and log filenames already include the book name and I see 
no reason to change that.

People could still have multiple books in the same directory, although I 
suggest best practice is to put each book’s data file in a separate directory.

  


Regards, Chris Good

___
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.

___
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.


Re: [GNC] Gnucash logs

2020-04-28 Thread Chris Good
From: David H  
Sent: Wednesday, 29 April 2020 12:49 PM
To: Chris Good 
Cc: Gnucash Users 
Subject: Re: [GNC] Gnucash logs

 

Chris,

 

How would you see this working with my 2 data files that I have in the same 
gnucash folder ???  Would the subdirectory(ies) include the name of the data 
file to clearly identify them or would all log/backup files be lumped in 
together in a single subdirectory ?  When I save my gnucash file under another 
name using save as would it create the required subdirectories for the new data 
file if they are separate subdirectories ?

 

My own situation is that I've set the log files to be deleted after 30 days 
which seems to work on Mac Catalina.  My data files are in a dedicated folder 
in my Documents folder and I must confess that I have NEVER had a need to go 
looking for backup files or log files since starting with Gnucash in 2010.

 

Cheers David Halverson.

 

On Wed, 29 Apr 2020 at 11:48, Chris Good mailto:goodchri...@gmail.com> > wrote:

 Original Message 
From: Michael or Penny Novack mailto:stepbystepf...@comcast.net> >
Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
To: "D." mailto:sunfis...@yahoo.com> >
Cc: Gnucash Users mailto:gnucash-user@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

___



Hi David H,

 

The backup filenames and log filenames already include the book name and I see 
no reason to change that.

People could still have multiple books in the same directory, although I 
suggest best practice is to put each book’s data file in a separate directory.

 

Regards, Chris Good

___
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.


Re: [GNC] Gnucash logs

2020-04-28 Thread David H
Chris,

How would you see this working with my 2 data files that I have in the same
gnucash folder ???  Would the subdirectory(ies) include the name of the
data file to clearly identify them or would all log/backup files be lumped
in together in a single subdirectory ?  When I save my gnucash file under
another name using save as would it create the required subdirectories for
the new data file if they are separate subdirectories ?

My own situation is that I've set the log files to be deleted after 30 days
which seems to work on Mac Catalina.  My data files are in a dedicated
folder in my Documents folder and I must confess that I have NEVER had a
need to go looking for backup files or log files since starting with
Gnucash in 2010.

Cheers David Halverson.

On Wed, 29 Apr 2020 at 11:48, Chris Good  wrote:

>  Original Message 
> From: Michael or Penny Novack 
> Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
> To: "D." 
> Cc: Gnucash Users 
> 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
>
> ___
> 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.
>
___
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.


Re: [GNC] Gnucash logs

2020-04-28 Thread Chris Good
 Original Message 
From: Michael or Penny Novack 
Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
To: "D." 
Cc: Gnucash Users 
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

___
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.


Re: [GNC] Gnucash logs

2020-04-28 Thread Michael or Penny Novack

On 4/28/2020 1:14 PM, D. wrote:

Michael,

I purposefully *didn't* say in this email "almost all users have only one set of books"; 
I said "I believe that many users only keep one set of books," and I very specifically 
noted that I do not have statistics regarding the uses to which gnucash is put. Neither do you. 
Your use experience and mine are different. Who's to say yours is more valid than mine?

As for the problem itself, I didn't suggest per book log folders precisely 
because my use case doesn't need it, but once you raised it,  I made a logical 
amendment to the suggestion. Is there a problem with that solution? Your tone 
suggests that there is.


I will try again 

There would be no problem with gnucash creating a directory for the log 
files in the directory where the data file is. I was saying that IF that 
had been what was initially suggested I would have said nothing because 
that WOULD work for the general case.


My concerns about "exception cases" is because I did software for a 
living. It doesn't matter if it is "many" or "almost all" but whether 
are ANY users who would have multiple books. And that is why I switched 
it to "almost all", because OK even for almost all is not good enough. 
Software that fails for ANY cases is bugged software.



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.


Re: [GNC] Gnucash logs

2020-04-28 Thread D. via gnucash-user
Michael, 

I purposefully *didn't* say in this email "almost all users have only one set 
of books"; I said "I believe that many users only keep one set of books," and I 
very specifically noted that I do not have statistics regarding the uses to 
which gnucash is put. Neither do you. Your use experience and mine are 
different. Who's to say yours is more valid than mine? 

As for the problem itself, I didn't suggest per book log folders precisely 
because my use case doesn't need it, but once you raised it,  I made a logical 
amendment to the suggestion. Is there a problem with that solution? Your tone 
suggests that there is. 

David


 Original Message 
From: Michael or Penny Novack 
Sent: Tue Apr 28 22:11:04 GMT+05:30 2020
To: "D." 
Cc: Gnucash Users 
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



___
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.


Re: [GNC] Gnucash logs

2020-04-28 Thread Michael or Penny Novack

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


___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread D. via gnucash-user
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 
Sent: Tue Apr 28 03:51:52 GMT+05:30 2020
To: "D." 
Cc: Gnucash Users 
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Bruce Irving via gnucash-user
On Mon, Apr 27, 2020 at 10:46 AM Frank H. Ellenberger
 wrote:
> Hi Tom,
...
> doesn't adjusting Edit->Preferences->General:Retain log/backup files
> bring some relief?

I completely forgot about that--I haven't looked at it in many years.
However, I see that it's always been set on 30 days and I think it
hasn't been deleting older files. I just cleaned out old stuff
yesterday so I can't say for sure.

I will reset to a couple of days and see what happens.

Thanks, Frank!

-Tom
I had set my Preference to retain for 7 days several versions ago and it is 
still working.  Just checked before posting this.

This is on Windows 10.  I don't know what it is doing on Linux.
Bruce


Bruce Preach the Gospel wherever you go.  If necessary, use words.
___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Michael or Penny Novack

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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Tom Browder
On Mon, Apr 27, 2020 at 10:46 AM Frank H. Ellenberger
 wrote:
> Hi Tom,
...
> doesn't adjusting Edit->Preferences->General:Retain log/backup files
> bring some relief?

I completely forgot about that--I haven't looked at it in many years.
However, I see that it's always been set on 30 days and I think it
hasn't been deleting older files. I just cleaned out old stuff
yesterday so I can't say for sure.

I will reset to a couple of days and see what happens.

Thanks, Frank!

-Tom
___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread D. via gnucash-user
I agree that the setting sounds broken in Rich's case, although it's generally 
worked for me. 

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.


 Original Message 
From: Michael or Penny Novack 
Sent: Mon Apr 27 21:49:00 GMT+05:30 2020
To: gnucash-user@gnucash.org
Subject: Re: [GNC] Gnucash logs

On 4/27/2020 11:56 AM, Rich Shepard wrote:
> On Mon, 27 Apr 2020, Frank H. Ellenberger wrote:
>
>> doesn't adjusting Edit->Preferences->General:Retain log/backup files 
>> bring
>> some relief?
>
> Frank,
>
> Not here. long ago I set log/backup retention for 1 day but they 
> accumulate
> until I manually remove them, perhaps once a month. Pehaps the 
> reference is
> for a Venusian day? :-) (Version 3.10 is installed, but it was the 
> same in
> prior versions.) 

If true THAT should be be a bug report.

For those who are only opening books at unpredictably infrequent 
intervals, try this. Put your gnucash data file into a directory with 
nothing else. Then that's where the logs will go (and the lock file when 
the data file is open). Now it will be easy to remove the clutter, just 
delete everything in the directory but the data file (when the data file 
is closed, the lock file won't be there)

The suggestion "put the logs somewhere else" might be ignoring the 
possibility of multiple gnucash data files with the same name (which 
they can have if in different directories)

Michael  Novack


___
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.

___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Rich Shepard

On Mon, 27 Apr 2020, Michael or Penny Novack wrote:


If true THAT should be be a bug report.


Michael,

Well, okay. I'll find where to mention it.

For those who are only opening books at unpredictably infrequent intervals, 
try this.


That's me. :-)


Put your gnucash data file into a directory with nothing else. Then that's
where the logs will go (and the lock file when the data file is open). Now
it will be easy to remove the clutter, just delete everything in the
directory but the data file (when the data file is closed, the lock file
won't be there)


Here, for several decades, it's all in /data/gnucash/personal and
../business. I let the *datetime.log and *datetime.gnucash files accumulate
until I decide to remove them leaving only the CoA and most recent *.gnucash
files. I could write a short bash shell script and have cron run that once a
week or so but it's not been enough of a nuisance to do so.

Stay well,

Rich
___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Michael or Penny Novack

On 4/27/2020 11:56 AM, Rich Shepard wrote:

On Mon, 27 Apr 2020, Frank H. Ellenberger wrote:

doesn't adjusting Edit->Preferences->General:Retain log/backup files 
bring

some relief?


Frank,

Not here. long ago I set log/backup retention for 1 day but they 
accumulate
until I manually remove them, perhaps once a month. Pehaps the 
reference is
for a Venusian day? :-) (Version 3.10 is installed, but it was the 
same in
prior versions.) 


If true THAT should be be a bug report.

For those who are only opening books at unpredictably infrequent 
intervals, try this. Put your gnucash data file into a directory with 
nothing else. Then that's where the logs will go (and the lock file when 
the data file is open). Now it will be easy to remove the clutter, just 
delete everything in the directory but the data file (when the data file 
is closed, the lock file won't be there)


The suggestion "put the logs somewhere else" might be ignoring the 
possibility of multiple gnucash data files with the same name (which 
they can have if in different directories)


Michael  Novack


___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Rich Shepard

On Mon, 27 Apr 2020, Frank H. Ellenberger wrote:


doesn't adjusting Edit->Preferences->General:Retain log/backup files bring
some relief?


Frank,

Not here. long ago I set log/backup retention for 1 day but they accumulate
until I manually remove them, perhaps once a month. Pehaps the reference is
for a Venusian day? :-) (Version 3.10 is installed, but it was the same in
prior versions.)

Regards,

Rich
___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Frank H. Ellenberger
Hi Tom,

Am 25.04.20 um 18:01 schrieb Tom Browder:
> Is there any way to get Gnucash to write its logs in another directory
> to keep its working directory less cluttered?
> 
> Thanks,
> 
> -Tom
> 
> P.S.I love Gnucash!

doesn't adjusting Edit->Preferences->General:Retain log/backup files
bring some relief?
___
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.


Re: [GNC] Gnucash logs on Linux

2020-04-27 Thread Bruce Irving via gnucash-user
Because of the Log files, I learned quickly to have the data file in its own 
directory which gets backed up with the rest of my files.  This is still 
happening on WindowsOn Linux flatpak though, it is different.  I am now finding 
Links to the log files in the directory where the link to GnuCash data is 
located.  I don't know where the logs are located but they are not in the data 
directory.
I'm on 3.9.  Linux is Peppermint 10, a Ubantu derivitive.On a side note; 
someone was wondering why GnuCash didn't let us know about updates.  I was 
using GNC for several years before I discovered the mailing lists and found 
that it had been updated fixing the issues that I grumbled about for so long.

Bruce Preach the Gospel wherever you go.  If necessary, use words.
___
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.


Re: [GNC] Gnucash logs

2020-04-27 Thread Tom Browder
On Sat, Apr 25, 2020 at 11:01 PM D.  wrote:
> Unfortunately, no. This is a long standing feature request. See:
...

Thanks for the reply.

I don't speak Lisp or its dialects much, but at adding a log directory
"sounds" fixable fairly easily enough for a fairly experienced
programmer. Is my opinion too naive?

Blessings,

-Tom
___
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.


Re: [GNC] Gnucash logs

2020-04-26 Thread David Cousens
Tom, Stan,

The log files are not just error logging files but a means of reconstructing
the current file just before a failure from the last backup file before
failure and the log files between them. Agreed it would be nice to have a
subfolder of the folder with the main GnuCash data file in it to keep these
separate. I always create my data files for mybooks in their own folder so I
only end up with the backups and the log files for the particular main data
file in that folder.  I think it is desirable to retain the direct
connection between the backup and log files and the main data file they
belong to.

When I do external backups, I backup both the main data file and the backup
and log files that i have chosen to retain not just the data file

David Cousens



-
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
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.


Re: [GNC] Gnucash logs

2020-04-26 Thread Nith Valley Organics
IIRC /tmp is wiped clean on every reboot.  At least on some versions of some 
OS(s).  So not a good place for log files.
A subdirectory of the directory in which the main file resides should be fine.

> On Apr 26, 2020, at 3:33 PM, Stan Brown  wrote:
> 
> 
> On 2020-04-26 07:46, Maf. King wrote:
>> On Sunday, 26 April 2020 15:38:41 BST Stan Brown wrote:
>>> And I would urge strongly that the setting should default to the normal
>>> location for temp files, not to the same location as the data file.
>>> Again, I'm thinking of the new user who is surprised to find dozens or
>>> even hundreds of extra files in the working directory after a long
>>> session when getting acquainted with GC.  The normal location is %TEMP%
>>> in Windows. I don't know what it is in other operating systems, but I'm
>>> sure our developers do.
>>> 
>> 
>> Hi Stan,
>> 
>> just an observation.
>> 
>> /tmp on linux is usually world readable... not a great idea for a default 
>> place to write potentially sensitive financial info.
> 
> Hi, Maf!  I accept that it is as you say in Linux, but it does seem a
> strange choice. Where do Linux apps put their temp files, if /tmp is not
> suitable since it is world readable? Surely a best practice already
> exists for such situations, no?
> 
> But in default of that I would support Adrien's proposal for a
> subdirectory. Anything to avoid putting them in a folder where theyh get
> in the way!
> 
> -- 
> Regards,
> Stan Brown
> Tehachapi, CA, USA
> https://BrownMath.com 
> http://OakRoadSystems.com 
> ___
> 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.

___
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.


Re: [GNC] Gnucash logs

2020-04-26 Thread Stan Brown


On 2020-04-26 07:46, Maf. King wrote:
> On Sunday, 26 April 2020 15:38:41 BST Stan Brown wrote:
>> And I would urge strongly that the setting should default to the normal
>> location for temp files, not to the same location as the data file.
>> Again, I'm thinking of the new user who is surprised to find dozens or
>> even hundreds of extra files in the working directory after a long
>> session when getting acquainted with GC.  The normal location is %TEMP%
>> in Windows. I don't know what it is in other operating systems, but I'm
>> sure our developers do.
>>
> 
> Hi Stan,
> 
> just an observation.
> 
> /tmp on linux is usually world readable... not a great idea for a default 
> place to write potentially sensitive financial info.

Hi, Maf!  I accept that it is as you say in Linux, but it does seem a
strange choice. Where do Linux apps put their temp files, if /tmp is not
suitable since it is world readable? Surely a best practice already
exists for such situations, no?

But in default of that I would support Adrien's proposal for a
subdirectory. Anything to avoid putting them in a folder where theyh get
in the way!

-- 
Regards,
Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
http://OakRoadSystems.com
___
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.


Re: [GNC] Gnucash logs

2020-04-26 Thread Adrien Monteleone
The .log files are more like historical data snapshots than application info. 
Having them all in a subfolder would be nice with less clutter. I wouldn’t say 
they belong in a system temp folder. I don’t think I’ve ever seen any app put 
its lock files in a separate location from the file being used. Though, most 
prepend them with a “.” so they are not visible during normal use. There is 
some room for improvement on both counts though.

Regards,
Adrien

> On Apr 26, 2020 w18d117, at 9:38 AM, Stan Brown  
> wrote:
> 
> Hopefully the developers will take note that this is not only
> longstanding but fairly frequently requested -- and the present behavior
> is a source of consternation to a significant proportion of new GC
> users. The introduction of GC 4.x would be a great time to make this change.
> 
> Easy for me to say of course, but I don't think it would be that hard to
> add a setting in the GUI and have whatever writes the logs and lock file
> use that setting.
> 
> And I would urge strongly that the setting should default to the normal
> location for temp files, not to the same location as the data file.
> Again, I'm thinking of the new user who is surprised to find dozens or
> even hundreds of extra files in the working directory after a long
> session when getting acquainted with GC.  The normal location is %TEMP%
> in Windows. I don't know what it is in other operating systems, but I'm
> sure our developers do.

___
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.


Re: [GNC] Gnucash logs

2020-04-26 Thread Maf. King
On Sunday, 26 April 2020 15:38:41 BST Stan Brown wrote:

> 
> And I would urge strongly that the setting should default to the normal
> location for temp files, not to the same location as the data file.
> Again, I'm thinking of the new user who is surprised to find dozens or
> even hundreds of extra files in the working directory after a long
> session when getting acquainted with GC.  The normal location is %TEMP%
> in Windows. I don't know what it is in other operating systems, but I'm
> sure our developers do.
> 

Hi Stan,

just an observation.

/tmp on linux is usually world readable... not a great idea for a default 
place to write potentially sensitive financial info.

0.02
Maf.




___
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.


Re: [GNC] Gnucash logs

2020-04-26 Thread Stan Brown
Hopefully the developers will take note that this is not only
longstanding but fairly frequently requested -- and the present behavior
is a source of consternation to a significant proportion of new GC
users. The introduction of GC 4.x would be a great time to make this change.

Easy for me to say of course, but I don't think it would be that hard to
add a setting in the GUI and have whatever writes the logs and lock file
use that setting.

And I would urge strongly that the setting should default to the normal
location for temp files, not to the same location as the data file.
Again, I'm thinking of the new user who is surprised to find dozens or
even hundreds of extra files in the working directory after a long
session when getting acquainted with GC.  The normal location is %TEMP%
in Windows. I don't know what it is in other operating systems, but I'm
sure our developers do.

-- 
Regards,
Stan Brown
Tehachapi, CA, USA
https://BrownMath.com
http://OakRoadSystems.com

On 2020-04-25 21:01, D. via gnucash-user wrote:
> Unfortunately, no. This is a long standing feature request. See:
> 
> https://gnucash.uservoice.com/forums/101223-feature-request/suggestions/1470507-configuration-option-for-backup-location
> 
> David T.
> 
> 
>  Original Message 
> From: Tom Browder 
> Sent: Sat Apr 25 21:31:57 GMT+05:30 2020
> To: gnucash-user@gnucash.org
> Subject: [GNC] Gnucash logs
> 
> Is there any way to get Gnucash to write its logs in another directory
> to keep its working directory less cluttered?

___
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.


Re: [GNC] Gnucash logs

2020-04-26 Thread farleykj
I see by the response(s) that it's not as simple as a setting.
However, there's no reason you couldn't do a move of the file(s) with some
sort of script. Depends on the operating system you're working under. For
example, if you're running on Windows, you could add a command or two to the
shortcut you use to start the program. In other words, the command called
for by the shortcut could be something like:

 ; MOVE \*.log 

You might need to use quotes and/or escape characters in the command
specification, depends on your particular situation.

In essence you're working as usual, then when you leave the program it does
a bit of "cleanup" for you.



-
Ken Farley
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html
___
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.


Re: [GNC] Gnucash logs

2020-04-25 Thread D. via gnucash-user
Unfortunately, no. This is a long standing feature request. See:

https://gnucash.uservoice.com/forums/101223-feature-request/suggestions/1470507-configuration-option-for-backup-location

David T.


 Original Message 
From: Tom Browder 
Sent: Sat Apr 25 21:31:57 GMT+05:30 2020
To: gnucash-user@gnucash.org
Subject: [GNC] Gnucash logs

Is there any way to get Gnucash to write its logs in another directory
to keep its working directory less cluttered?

Thanks,

-Tom

P.S.I love Gnucash!
___
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.
___
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.


[GNC] Gnucash logs

2020-04-25 Thread Tom Browder
Is there any way to get Gnucash to write its logs in another directory
to keep its working directory less cluttered?

Thanks,

-Tom

P.S.I love Gnucash!
___
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.