Adrien,

/var/log generally belongs to syslog (in the generic sense; most systems have a 
better facility these days). It is also generally not user-readable, never mind 
writable.

Yes, you get it right. They're not really log files. The trace file is the real 
log file.

Regards,
John Ralls

> On Jul 27, 2018, at 10:13 AM, Adrien Monteleone 
> <adrien.montele...@lusfiber.net> wrote:
> 
> Thanks for the explanation. I wasn’t referring so much to syslog facility (my 
> poor word choice) but to the /var/log, ~/Library/Logs, %AppData% locations 
> for storing them.
> 
> So if I get this right, they’re just for replaying from last crash, which of 
> course would be after the last open, so previous logs from previous sessions 
> are pointless then? (you wouldn’t need to replay a successfully closed 
> session that is)
> 
> Regards,
> Adrien
> 
>> On Jul 27, 2018, at 11:51 AM, John Ralls <jra...@ceridwen.us> wrote:
>> 
>> Syslog isn't really appropriate for the transaction logs. They're created as 
>> a partial fallback for cases where GnuCash or your computer fails between 
>> saves with the XML backend: You can use File>Import>Replay GnuCash .log 
>> file... to reinsert any transactions that were created or edited between the 
>> last save and the crash. There's really no point to keeping them around and 
>> also no point to them at all with a SQL backend which commits all edits (not 
>> just transactions) immediately but the transaction logging logic is in a 
>> place that can't tell what backend is in use. It's an ancient and somewhat 
>> obsolete corner of GnuCash that would have been cleaned up a long time ago 
>> had we sufficient resources to do so.
>> 
>> Regards,
>> John Ralls
>> 
>>> On Jul 27, 2018, at 8:48 AM, Adrien Monteleone 
>>> <adrien.montele...@lusfiber.net> wrote:
>>> 
>>> You could also create a log directory wherever you store the account book 
>>> and then periodically dump them in it just to declutter. But then if you 
>>> set a log TTL GC probably won’t see them to remove the old ones. 
>>> Personally, I’d prefer if GC used the OS log facilities than the present 
>>> ‘one big pile along with my files’ method. But I’m sure there is a reason 
>>> for it.
>>> 
>>> Regards,
>>> Adrien
>>> 
>>>> On Jul 27, 2018, at 2:32 AM, Colin Law <clan...@gmail.com> wrote:
>>>> 
>>>> I am wondering why the log files bother you.  Possibly you have done
>>>> something like saving the accounts file on the desktop, so you see the log
>>>> files there.  If so then that is a bad plan.  Instead I suggest making a
>>>> folder specifically for the accounts file and using File > Save As to save
>>>> it there.  Then you can leave the log file setting at the default and they
>>>> will be no bother, but will be there in case you need them.
>>>> 
>>>> Colin
>>>> 
>>>> On 26 July 2018 at 21:27, varda241--- via gnucash-user <
>>>> gnucash-user@gnucash.org> wrote:
>>>> 
>>>>> <div>Will try 1 day. Thanks</div><div><br></div>Sent from my Verizon ASUS
>>>>> tablet
>>>>> 
>>>>> -------- Original Message --------
>>>>> From:Derek Atkins <warl...@mit.edu>
>>>>> Sent:Thu, 26 Jul 2018 10:55:44 -0400
>>>>> To:varda241 via gnucash-user <gnucash-user@gnucash.org>
>>>>> Cc:David Carlson <david.carlson....@gmail.com>,varda241 <varda...@aol.com>
>>>>> Subject:Re: [GNC] Logs.
>>>>> 
>>>>>> Hi,
>>>>>> 
>>>>>> varda241 via gnucash-user <gnucash-user@gnucash.org> writes:
>>>>>> 
>>>>>>> 
>>>>>>> It is not just one or two. There are logs created each time I open the
>>>>>>> program
>>>>>> 
>>>>>> Which "log" are you talking about?
>>>>>> 
>>>>>> Are you talking about the transaction logs?
>>>>>> Or are you talking about the runtime (trace file) logs?
>>>>>> 
>>>>>> There is no way to turn off transaction logs -- all you can do is define
>>>>>> how long they will be kept.  The shortest you can set that to is 1 day.
>>>>>> If you set it to 0 it will keep them forever.
>>>>>> 
>>>>>>> Please remember to CC this list on all your replies.
>>>>>>> You can do this by using Reply-To-List or Reply-All.
>>>>>> 
>>>>>> -derek
>>>>>> 
>>>>>> --
>>>>>>   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>>>>>>   Member, MIT Student Information Processing Board  (SIPB)
>>>>>>   URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
>>>>>>   warl...@mit.edu                        PGP key available
>>>>> _______________________________________________
>>>>> 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.
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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.

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

Reply via email to