Finding Log Files

From Second Life Wiki
Revision as of 11:11, 23 May 2011 by Jonathan Yap (talk | contribs) (Added Windows 7 entry)
Jump to navigation Jump to search

Log File Locations

The location of log files depends on your operating system:

  • Windows - In folder options, choose to show hidden files/folders.
    • XP: C:\Documents and Settings\<username>\Application Data\SecondLife\logs
    • Vista and Windows 7: C:\Users\<username>\appdata\roaming\SecondLife\logs
  • MacOSX - /Users/<username>/Library/Application Support/SecondLife/logs
  • Linux - /home/<username>/.secondlife/logs

Log Files

The viewer creates the following list of log files in the logs folder where user data is stored. These are used for normal application logging, crash reporting, etc.

SecondLife.log

Store for status and debugging output from the viewer. This files continues to grow while SL is active and tends to become large. If too large it is trimmed by the crash logging app.

SecondLife.old

Upon initialization of logging for a viewer session, the viewer renames the existing SecondLife.log to SecondLife.old. SecondLife.old is used when the viewer reports a freeze in the previous execution.

debug_info.log

This log is initialized after freeze reporting to contain information about the viewer's state. When a crash is handled, additional information is added to this file about the state of the viewr at the time of the crash. This log is the main source of non-crash stack data for viewer crash reporting.

SecondLifeException.log

(Windows only? What about mac and linux?) This file stores raw callstack information from the viewer. Its created during crash handling. It is deleted after freeze reporting so that future freeze reporting will not include any irrelevant call stack info.