View: 5163|Reply: 2

Every few days a few GB of .log files??

[Copy link]

4

threads

32

posts

723

credits

Senior member

Rank: 4

credits
723
Published in 2016-3-19 09:42:02 | Show all floors |Read mode
Every week or two I have to delete a lot of .log files from the /sdcard folder. For the example, there was 3.2 GB of free space and then I noticed there is only 800 MB of free space left so I searched with X-plore and found a lot of .log files in total size of 2.4 GB. I deleted all the .log files and free space was again 3.2 GB but a few days later there was already more than 1 GB of newly created .log files so I have to delete them again and again. The files come in pairs with the names:

  1. aw_0_kernel_boot.yyyymmddhhmmss.log
  2. aw_0_system_boot.yyyymmddhhmmss.log
Copy code

Some file sizes are just 50-60 KB but some are more than 50 MB.

Can someone, please, tell how to disable those .log files because they very quickly consume all of the free space on SD card and I have to delete them every few days. I am using the sun8iw7p1_android_dolphin-p1_uart0.img image from the Orange Pi PC web page.

18

threads

303

posts

9888

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9888
Published in 2016-3-30 13:39:07 | Show all floors
Same issue. Try a different image.

4

threads

32

posts

723

credits

Senior member

Rank: 4

credits
723
 Author| Published in 2016-4-2 08:21:47 | Show all floors
jacer replied at 2016-3-30 13:39
Same issue. Try a different image.

I can see every other image has some problems. With this image I can use every USB port on Orange Pi PC, OTG & Ethernet port and everything works well even without heatsinks - the only issue is creation of these log files. I tried another image but it did not work (not even with heatsinks), here are the results.

Maybe someone could write some script (cron?) to erase the logs once in a while? The script should every now and then (maybe once per day) erase all *.log files from certain directory. But there must be a way to disable logging.

You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list