On Thursday, 13 August 2020 14:15:24 UTC+3, jennifer Dsilva wrote:
>
> how can we disable logging in bbb? my bbb writes log files into /var/log/ 
> directory and consumes a lot of space
>

As Jon mentioned, if you're getting anomalously verbose logs then have a 
look at what is the source of it and why. Generally I'd expect less then a 
megabyte of new logs every day from the system, plus any services which 
you're running. I don't know how verbose are the high-level services on 
official images (like nodejs, cloud9 etc) - I remove those before doing 
anything else.

If you're worried about running out of disk space, then find the source of 
verbose logs and fix it.

If you're worried about killing the Flash chip with frequent writes, the 
standard mitigation procedure is to divert the entire /var/log directory to 
a ramdisk. Some people use tmpfs, some people overlayfs. Latter is probably 
easier to set up.

--
Kind regards,
Tarmo

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d86c8163-9e05-434d-b9b6-bc4c29c3c7ffo%40googlegroups.com.

Reply via email to