Query: Automagic log file

Post your questions and help other users.

Moderator: Martin

Post Reply
1tamad
Posts: 11
Joined: 20 Apr 2016 03:04

Query: Automagic log file

Post by 1tamad » 26 Jul 2017 05:56

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

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Query: Automagic log file

Post by Martin » 27 Jul 2017 19:07

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

1tamad
Posts: 11
Joined: 20 Apr 2016 03:04

Re: Query: Automagic log file

Post by 1tamad » 28 Jul 2017 09:05

Thanks alot for that clarification.

Cheers

1tamad
Posts: 11
Joined: 20 Apr 2016 03:04

Re: Query: Automagic log file

Post by 1tamad » 30 Jul 2017 02:43

Followup question, is it possible for me to increase the log file size capacity? Thanks

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Query: Automagic log file

Post by Martin » 30 Jul 2017 18:30

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

1tamad
Posts: 11
Joined: 20 Apr 2016 03:04

Re: Query: Automagic log file

Post by 1tamad » 31 Jul 2017 06:53

Ok thanks

Post Reply