How to completely remove logs from linux server
by GoldShell - Saturday August 12, 2023 at 04:59 PM
#1
How to globally disable logging and remove logs that now exists?
Don't tell me to just rm -rf * in /var/log. Won't work and will just give more issues with the services that are running.
Reply
#2
From the one google search I did, it seems doing "service rsyslog stop" or doing "systemctl disable rsyslog" are what you're looking for. As for removing logs that now exist, you could probably just write a script to search through the logs for anything specific and either delete them or edit them out.
DM for Doxing / Pentesting Services
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Questrade leak anyone? username000 0 104 8 hours ago
Last Post: username000
  OSINT repositories by country browdbrowniebread 0 239 Apr 30, 2026, 07:41 PM
Last Post: browdbrowniebread
  A collection of deepweb sites [2025] dg7ka 107 2,969 Apr 30, 2026, 03:27 PM
Last Post: Jeracix
  FREE 3 UNCENSORED HACKING LLM QaboosbinSaidAlSaid 68 1,706 Apr 30, 2026, 02:22 AM
Last Post: Microban
  Telegram Opsec Guide Synaptic 47 1,881 Apr 29, 2026, 07:59 PM
Last Post: thebinarymonk

Forum Jump:


 Users browsing this forum: 1 Guest(s)