Quantcast

When does GnuCash create .log files?

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

When does GnuCash create .log files?

David Carlson-4
I used to think that GnuCash created .log files periodically when
theauto-save interval has passed since the last edit.

Now, it seems that GnuCash does a complete file save according to that
interval.  If that is the case, why have a .log file?

David C
_______________________________________________
gnucash-user mailing list
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: When does GnuCash create .log files?

David Carlson-4
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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: When does GnuCash create .log files?

Buddha Buck
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 <[hidden email]>
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
> [hidden email]
> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: When does GnuCash create .log files?

David Carlson-4
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&T 4G LTE smartphone





-------- Original message --------
From: Buddha Buck <[hidden email]>
Date: 5/16/17 2:41 PM (GMT-06:00)
To: David Carlson <[hidden email]>, [hidden email]
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 <[hidden email]>
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
[hidden email]
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" <[hidden email]> 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 <[hidden email]>
> 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
>> [hidden email]
>> 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
[hidden email]
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.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: When does GnuCash create .log files?

DaveC49
In reply to this post by Buddha Buck
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.gnucash    Wed 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.ffffffffa8c00400.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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: When does GnuCash create .log files?

David Carlson-4
I have experimented further after reading your post DaveC49.

In my case, I am keeping the data file on a remote server and I see that
the .log file grows as I edit my data, but the modified time stays at the
time created for some reason.  I also set GnuCash to ask me before doing an
auto-save and that seems to have stopped the surprise auto-saves.  I had
set the interval to 30 minutes because it takes forever to do a full save
to the remote server and that had been interrupting me when I was doing a
lengthy OFX import or a reconcile.  I think that your .LNK file is
something that Linux does in the background sometimes, as it is essentially
a copy of a file in a different location.

Now that I understand it better, I think that I can live with the auto-save
if I turn the warning back on.  I do wish that the documentation was more
technically accurate, especially for users that keep their data somewhere
other than their user space on their 'C' drive.

David C

On Tue, May 16, 2017 at 7:09 PM, DaveC49 <[hidden email]> wrote:

> 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.gnucash    Wed 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.ffffffffa8c00400.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
> [hidden email]
> 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
[hidden email]
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.
Loading...