This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Log-Disk voll

Mahlzeit,

meine Log-Disk ist vollgelaufen und jetzt werden beispielsweise keine Web Protection Logs mehr geschrieben. Ich habe versucht über die Weboberfläche einige alte Logs (älter als ein Jahr) zu löschen, und habe auch die Funktion "Lösche Logs, die älter sind als..." auf ein Jahr gestellt. Es scheint aber egal zu sein wie viel ich manuell weg lösche, die Log-Disk wird nicht leerer.

Wie gehe ich am besten vor, um die Logs wieder ans Rennen zu kriegen?



This thread was automatically locked due to age.
Parents
  • If you connect to your UTM via shell and run this command (as the root user)
    du -a /var/log | sort -n -r | head -n 15

    It should give you a list of the 15 largest files in the log directory, from here you can determine what they are e.g. one large log, a couple of large logs.

    If you dont need them you can just delete them.
    If you do need a copy, I would suggest copying them off to another location, e.g. using WinSCP and then remove them from the UTM once you have a copy.
Reply
  • If you connect to your UTM via shell and run this command (as the root user)
    du -a /var/log | sort -n -r | head -n 15

    It should give you a list of the 15 largest files in the log directory, from here you can determine what they are e.g. one large log, a couple of large logs.

    If you dont need them you can just delete them.
    If you do need a copy, I would suggest copying them off to another location, e.g. using WinSCP and then remove them from the UTM once you have a copy.
Children
No Data