Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 1670|Reply: 2

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

[Copy link]

4

Threads

30

Posts

457

Credits

Intermediate member

Rank: 3Rank: 3

Credits
457
Post time 2016-3-19 09:42:02 | Show all posts |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 the 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

7753

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
7753
Post time 2016-3-30 13:39:07 | Show all posts
Same issue. Try a different image.

4

Threads

30

Posts

457

Credits

Intermediate member

Rank: 3Rank: 3

Credits
457
 Author| Post time 2016-4-2 08:21:47 | Show all posts
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 have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-13 16:40 GMT+8 , Processed in 0.028492 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list