Is it OK to delete var log?

Is it OK to delete var log?

Yes you can. This file is executed every time you log in or launch a terminal instance, thus your logs will always be deleted.

Is it safe to delete log files on phone?

Yes, you can delete log files on your device… Using the app SD Maid (Explorer tab) on a rooted Samsung Galaxy Note 1 (N7000), Android 4.1. 2, LT5 Build, I found 900+ log files in /data/log. After clearing the literally hundreds of dumpstate* files, I got my internal memory back from only 207mb up to 1040+ mb!

Can I delete WLAN log files?

Delete the Log files (Easiest and Recommended) Open the phone dialer, dial *#9900# and select the 2nd option “Delete dumpstate/logcat” in the prompted menu. Select ok to ‘Delete Dump’ and hit exit. This will restore heaps of storage space by deleting all the log files in the device memory. Doesn’t requires root either.

Is there a safe way to delete log files?

Please advise safe way to delete log files so that I can free disk space. Thanks in advance. unless you know exactly what you are doing. Your command blew away all the subdirectories under /var/log, leaving no place for the logging daemons to write. I would also suggest that you never delete a log file.

What is the preferred way to delete / var / log / files?

A note of caution, though /var/log will have log files, it will also have subdirectories. I think Om Chaudhary caused his problem (inability to create log files), by a recursive removal, which included files and their subdirectories, leaving the logging daemons with nowhere to write. Was this post helpful? Thanks for your feedback!

Can I delete / var / log files due to low root space?

Can I delete /var/log files due to low root space? Judging by a posted message on ubuntu.org forums, I found that I have a .log file in /var/log at 22 GB in size! My root is an 82 GB partition and Disk Analyser shows the offender to be in log.

Is there anything other than log files in / var / logs?

There should never be anything other than log files in the /var/logs directory, but if you want to be sure, just check how you can identify your log files as opposed to other files. Log files usually end in log, but double-check this. Was this post helpful? Thanks for your feedback!