Diagnostics: Console Flashcards
(33 cards)
What type of log messsage appears without a colored dot in the “Type” column?
Default messages
What type of Console log messages are marked with a RED dot in the “Type” column?
Faults
What type of Console log messages are marked with a YELLOW dot in the “Type” column?
Errors
Yellow dots mark error messages that are important, but not critical
What type of Console log messages are marked with a DARK GRAY dot in the “Type” column?
Debug
What type of Console log messages are marked with a LIGHT GRAY dot in the “Type” column?
Info.
What type of Console log messages are marked WITHOUT A dot in the “Type” column?
Default log messages
In Console, what button do you click to begin viewing log messages?
“Start Streaming”
What should you do to prepare your Mac for a Console logging session?
Connect it to a power source (message streaming is battery intensive) and close non-critical apps.
What is the quickest way to filter log messages containing mentions of a specific string?
Type the string in the Search field, then press Return.
Note that this searches for any log message containing the search string, and not just the Application you may have typed in the search field.
How do you refine log messages search results for a specific app?
Click the arrow beside “Any” in the search field and from the pop-up menu, choose “Process”.
Only log messages specific to the Process now appear.
How to do you view Log Reports on Console?
Click on “Log Reports” in the sidebar.
System and user-related log files appear.
Which log file contains messages related to macOS installation, software updates, and the Installer app (PKG files)?
install.log
What type of user is required to view System log files and Log Reports?
System log files and reports are available only to Administrator accounts.
Standard accounts can access only logs and reports that belong to them.
What button do you click to stop the streaming of log messages?
Click the “Pause” button
What are the five different levels of log messages
Fault
Error
Default
Info
Debug
How can you view only messages related to Errors and Faults?
Click the “Start” button to start message streaming, then click on “Errors and Faults” in the Favorites bar at the top of the messages window (next to the “All Messages” button)
From the list of log messages, click a fault message, then review the log details.
If the log details don’t appear, click the Info button in the toolbar.
What Terminal command allows you to emulate quitting an application while also generating a crash report?
killall -3 ProcessName
Or if you know the process ID:
killall -3 pid
How do you view crash reports in Console?
Click on Crash Reports in the Console sidebar.
What are the differences between the two sections of a crash report?
A crash report contains two sections: a translated report most users can easily understand and a full report that contains raw data that’s helpful to developers and Apple.
In Console, how do you group log messages by the system activity they’re associated with?
Click the “Activities” button on the Console’s main toolbar.
(If the Activities button is dimmed, click Start in the toolbar.)
Select the activity.
Log messages for that activity appear at the bottom of the window.
How do you view child activities within a specific Activity?
Click the Expand button (+) next to the activity.
What are the 6 types of Reports that you can view using Console?
- Crash Reports: System and user reports about apps or processes that crash. Crash report names have the .ips extension.
- Spin Reports: System and user reports with details about app or process issues. Spin report names have a .spin extension.
- Log Reports: System and user reports with information about events that occur when the system or specific apps are processing. Log report names have an extension such as .log, ._log, or .its.
- Diagnostic Reports: System and user reports with information about hardware resources, system response times, and more. Diagnostic report names have an extension such as .diag or .dpsub.
- Mac Analytics Data: Contents of the Message Tracer Store data found at /var/log/DiagnosticMessages.
- system.log: Contents of the legacy system log file at /private/var/log/system.log.
How do you view ALL details of an Activity?
Click Details in the activity details in the lower half of the Console window.
If you don’t see the activity details, click the Info button in the toolbar
How do you search log messages for a specific device, instead of globally?
Select the device in the Console sidebar before you start a search.