I want to create a bugreport using ubuntu-bug and I would like to include the log files of Gnome Display Manager (GDM) which I found in /var/log/gdm. To minimize the noise that may be in the logs I would like to empty them before I reproduce the bug.
What is the best way to empty the log files?
.[0-9]are older logs (zipped files). Any log you delete here should be recreated when needed by the system so it should be safe. Always better to create a backup though ;) – Rinzwind Feb 12 '12 at 14:47