Page 1 of 1

Query: Automagic log file

Posted: 26 Jul 2017 05:56
by 1tamad
I enabled the "Write log to file" option. My question would be: what are the log files generated? I checked the folder /storage/emulated/0/Automagic and I noticed to files namely:
a. log_mail.txt
b. log.txt
Does it generate 2 log files? What is the difference of both?

Thanks

Re: Query: Automagic log file

Posted: 27 Jul 2017 19:07
by Martin
Hi,

The option Write log to file generates the file log.txt which can grow to about 500kb in size. Automagic copies the log.txt to log_old.txt and begins to log into log.txt again when the 500kb limit is reached.
log_mail.txt is created when menu->Send log is used. It's a way to create a mail attachment with the contents of the regular smaller log that works properly in all versions of Android and all mail apps.

Regards,
Martin

Re: Query: Automagic log file

Posted: 28 Jul 2017 09:05
by 1tamad
Thanks alot for that clarification.

Cheers

Re: Query: Automagic log file

Posted: 30 Jul 2017 02:43
by 1tamad
Followup question, is it possible for me to increase the log file size capacity? Thanks

Re: Query: Automagic log file

Posted: 30 Jul 2017 18:30
by Martin
No, that's currently not possible. Maybe you can create a flow that renames the log_old.txt to log_<timestamp>.txt and keep it for a longer time.

Regards,
Martin

Re: Query: Automagic log file

Posted: 31 Jul 2017 06:53
by 1tamad
Ok thanks