you need
  • - the Administrator or root on the local machine.
Select a category of logs Windows, which needs to be cleaned.Click on the icon "My Computer" on the desktop and select "Manage ..." context menu.Or activate a shortcut, "Computer Management" in the folder "Administration" (it is possible to go from the "Control Panel", opened with the corresponding section of the "Setup" menu "Start").This starts an MMC.

In the tree "Computer Management (Local)", expand elements of the "Utilities" and "Event Viewer".Highlight nested items and view logs.Determine which parts must be cleaned.
How to clean logs
Clean logs Windows.Select one of the elements of the category "Event Viewer" selected in the fi
rst step.To do this, click on the left mouse button.Expand the "Action" menu of the main application, or open the context menu item, clicking the right button.Select "Erase all of the events."You will be asked to pre-stored data to be deleted.If necessary, click "Yes" and save the event log to an external file.Next, the logs will be cleared.
How to clean logs
operating systems, Linux or FreeBSD locate the log files, Waiter syslogd, you want to delete.Open the file /etc/syslog.conf.Look at him.Get the path to the log files relevant subsystems or applications.
How to clean logs
Stop service syslogd.Start the session as root.To do this, switch to a text console, or run the terminal emulator.Log in with credentials as root or start a session command su.Run command in the console:
service syslogd stop
Wait until the service.
How to clean logs
Clean logs.The command redirection overwrite the contents of the log files, found in the third step, the data of zero length.For example, to clear the file / var / log / syslog / messages, run the following command:
& gt;/ var / log / syslog / messages

Start syslogd service team:
service syslogd start
Wait until the service started.
How to clean logs