diff --git a/src/freedombone-logging b/src/freedombone-logging
index 4edc7c69..b76b4028 100755
--- a/src/freedombone-logging
+++ b/src/freedombone-logging
@@ -96,6 +96,9 @@ function turn_off_postgresql_logging {
     fi
     sed -i 's|#log_destination|log_destination|g' /etc/postgresql/9.6/main/postgresql.conf
     sed -i "s|log_destination.*|log_destination = 'syslog'|g" /etc/postgresql/9.6/main/postgresql.conf
+    if [ -d /var/log/postgresql ]; then
+        $REMOVE_FILES_COMMAND /var/log/postgresql/*
+    fi
 }
 
 function turn_on_postgresql_logging {