View: 8037|Reply: 3

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

[Copy link]

4

threads

32

posts

781

credits

Senior member

Rank: 4

credits
781
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

110K

credits

Moderator

Rank: 7Rank: 7Rank: 7

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

4

threads

32

posts

781

credits

Senior member

Rank: 4

credits
781
 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.

6

threads

36

posts

199

credits

Registered member

Rank: 2

credits
199
Published in 7 daybefore | Show all floors
The Pegasystems PEGACPSA23V1 Exam Preparation Guide is a comprehensive resource designed to help candidates prepare for the Certified Pega System Architect '23 (PEGACPSA23V1) certification exam. It covers the essential exam objectives, including case management, application development, data modeling, user interface design, security, and integrations on the Pega Platform. Featuring clear explanations, practical examples, hands-on scenarios, and practice questions, this guide helps learners strengthen their Pega development skills, gain confidence, and successfully earn the Pega System Architect certification. The PEGACPSA23V1 exam validates foundational knowledge for developing enterprise applications on the Pega Platform.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list