Re: When does GnuCash create .log files?

2017-05-16 Thread DaveC49
To be useful the logfiles should be being written as each transaction is
recorded rather than only at the end of a session. In the latter case if a
crash/programming fault causes Gnucash to exit abnormally the log file would
contain no useful information. Autosave should only be working on the main
data file and not the logfiles.

I have just closed down gnucash at 09:39:54 local time. 
  
date Modified
The logfile is named:TestBooksBudget.gnucash.20170517093954.log 
Tue 16th May 2017 18:49:11 AEST
The last backup is named:TestBooksBudget.gnucash.20170517093954.gnucash  
Wed 17th May 201709:39:54 AEST
The current file is :  TestBooksBudget.gnucash  
   
Wed 17th may 2017 09:39:54 AEST

The previous logfile:TestBooksBudget.gnucash.20170516184911.log 
Wed 17th May  2017 09:39:39 AEST
The previous backup: TestBooksBudget.gnucash.20170516184911.gnucash  
Tue 16th May 2017 18:44:10 AEST.

If I now open Gnucash the backup file remains the same as the above at this
point.
A new log file is opened  TestBooksBudget.gnucash.20170517095417.log 
Wed 17th May 2017 09:54:17 AEST
The previous data file is renamed: 
 
TestBooksBudget.gnucash.20170517095918.gnucashWed 17th May 2017 09:59:18
AEST. ( the time difference is most likely that required to open and read
the previous data file.

A file TestBooksBudget.gnucash.a8c00400.13920.LNK Wed 17th May 2017
09:54:17 AEST is also created when the file is reopened along with the lock
file,  TestBooksBudget.gnucash.LCK Wed 17th May 2017 09:54:17 AEST. Have no
idea yet what the first file does? 

This tends to support the view that the logfile is opened at the start of a
new gnucash session and then transactions are written to it as they occur.   

I have an autosave interval of 5 mins.

A new back up file TestBooksBudget.gnucash.20170517095918.gnucash Wed 17th
May 2017 09:39:54 AEST and a new log file
TestBooksBudget.gnucash.20170517095918.log Wed 17th May 2017 09:59:18 are
created at the end of the autosave interval.

(Gnucash 2.6.16  on Linux Mint 18.1)

David Cousens



--
View this message in context: 
http://gnucash.1415818.n4.nabble.com/When-does-GnuCash-create-log-files-tp4691667p4691675.html
Sent from the GnuCash - User mailing list archive at Nabble.com.
___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


Re: When does GnuCash create .log files?

2017-05-16 Thread David Carlson
Google blocked this email so I amtrying again.

I cannot find any better description in the help files than what you
mentioned Buddha.

However, in Windows  GuCash makes a full save on that schedule instead of
making a .log file.  The result is that there is usually pnly one log file
and sometimes none if I do an early save.

David C


Sent via the Samsung Galaxy S® 5 ACTIVE™, an AT 4G LTE smartphone





 Original message 
From: Buddha Buck <blaisepas...@gmail.com>
Date: 5/16/17 2:41 PM (GMT-06:00)
To: David Carlson <david.carlson@gmail.com>, gnucash-user@gnucash.org
Subject: Re: When does GnuCash create .log files?


I believe, perhaps incorrectly, that the .log files are updated when a
change is made, and are dated based on the last (auto)save. So the most
recent log file will have an entry for each transaction since the last save.

On Tue, May 16, 2017 at 3:32 PM David Carlson <david.carlson@gmail.com>
wrote:

I didn't say that correctly.  I meant that I thought that GnuCash created
.log files periodically when the auto-save interval has passed since the
next edit after the last save or auto-save.  Then they would be useful if
it had been a while since the last full save.

With the current behavior (release 2.6.15 in Windows 7) the frequent full
saves seem superfluous to me.


David C​
___
gnucash-user mailing list
gnucash-user@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.


On May 16, 2017 2:42 PM, "Buddha Buck" <blaisepas...@gmail.com> wrote:

> I believe, perhaps incorrectly, that the .log files are updated when a
> change is made, and are dated based on the last (auto)save. So the most
> recent log file will have an entry for each transaction since the last save.
>
> On Tue, May 16, 2017 at 3:32 PM David Carlson <david.carlson@gmail.com>
> wrote:
>
>> I didn't say that correctly.  I meant that I thought that GnuCash created
>> .log files periodically when the auto-save interval has passed since the
>> next edit after the last save or auto-save.  Then they would be useful if
>> it had been a while since the last full save.
>>
>> With the current behavior (release 2.6.15 in Windows 7) the frequent full
>> saves seem superfluous to me.
>>
>>
>> David C​
>> ___
>> gnucash-user mailing list
>> gnucash-user@gnucash.org
>> https://lists.gnucash.org/mailman/listinfo/gnucash-user
>> -
>> 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
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.