Home Apple Mac OS X 10 Activate / empty crash logs (Crash Reporter)

Publicité

Activate / empty crash logs (Crash Reporter) PDF Print E-mail
Saturday, 23 August 2008 16:47

In some cases it is useful to know why an application exits (crashes). In Mac OS X, it is possible to activate a log that allows you to see the activity before the crash. To enable this log:

Open a terminal session and go to the directory / etc in this directory hostconfig open the file with an editor like vi, emacs or pico. At the end of the document add the line:

CRASHREPORTER=-YES-

After adding this line save the file and reboot so that the log is active.

Now that the log is activated during the crash of an application, a window will open.

The logs will be written to / var / log / crashreporter.log.


As this file can become large, remember to empty it regularly.

If you only want to write logs (no window that opens), replace the command line above with:

CRASHREPORTER=-LOGONLY-

 

 

 

Related articles:

 

Last Updated on Monday, 21 December 2009 09:05
 
Copyright © 2012 English fievet.net - News about Apple. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.