Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [logs]

System files that contain system event information, errors, and crash information.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

MacOS /var/log/wifi.log contains no info. Unable to initialize unified logger

I'm experiencing ping spikes on my MacBook Pro M2, Sonoma MacOS. Tried to get some logs as being told here: https://apple.stackexchange.com/a/348574. However, no matter what, no logs appear in wifi....
Yahima's user avatar
  • 1
0 votes
0 answers
18 views

tail: /var/log/snmpd.log: Operation not supported on socket

OS: MacOS Catalina I've already tried kill -s INT syslogd and logd and also loading and unloading snmpd but still cannot open the file: cat /var/log/snmpd.log cat: /var/log/snmpd.log: Connection ...
mariano-daniel's user avatar
0 votes
0 answers
32 views

An entire day is missing from my system log, what happened?

I just noticed that an entire day, in which I worked the full day and have activity logs elsewhere, is missing from my macOS system log when viewed with the log show command. Here is an excerpt: 2024-...
zdomain's user avatar
15 votes
1 answer
6k views

How to find out what my MacBook Air was doing for 3 hours in my backpack (hot and at 8% battery) when I thought it was sleeping?

I am using macOS Catalina (10.15) and I spent about an hour exporting some photos from Photos to my friend's SD card, which seems to involve a lot of computing (it's not the same as copying files). ...
uhoh's user avatar
  • 1,742
0 votes
0 answers
36 views

Log start/end times of user input/activity on MacOS

I'd like to keep a log of when I start and end a session sitting at my Macbook. Let's say a session starts when the displays are black and I use the keyboard/mouse to wake the Macbook (and enter my ...
Roofus's user avatar
  • 101
1 vote
1 answer
31 views

How do I allow the logger command to run using non superuser (sudo) privileges?

I've been trying to run the logger command in terminal but it only works with sudo. How do I allow it to work in terminal without the sudo command? I'm trying to run the logger command from ...
atreeon's user avatar
  • 518
5 votes
1 answer
2k views

Need to prove an app was NOT on my iPhone on a given date

I’ve been accused by a professor of using one of my iPhone’s study apps during a test. The app by Instructure is called “Canvas Student.” Not only did I not cheat, this app that I allegedly used was ...
Wellconnectedlife's user avatar
0 votes
1 answer
564 views

Viewing login attempts on an iOS device

Is there a way to access a log of login attempts on an iOS device? I'm specifically looking for the following: When was the function activated for the first time? Dates and time that the device has ...
Gustavo Cruz's user avatar
0 votes
0 answers
43 views

Can't find some kernel logs that could be seen in previous macOS versions

I am looking for the kernel log messages that are output during the macOS hibernation process. As an example: 8/20/14 11:58:40 AM kernel wired_pages_encrypted 60968, wired_pages_clear 39229, ...
Desert Scuba's user avatar
0 votes
0 answers
11 views

Diagnosticreports translated report portion lost (?) after clicking "Send to Apple"

An app crashed, and I'm shown the crash reporter interface. I previewed the crash report and can see the translated version. After I click on the "Send to Apple" button, it seems like the ...
Joy Jin's user avatar
  • 2,803
0 votes
0 answers
143 views

Failed to gather analytics on iPhone

I am trying to get sysdiagnose data on iPhone. After many tries and waiting, nothing is appearing inside Analytics & Improvements -> Analytics Data. I have followed these guides: Sysdiagnose (...
Ivan Ignatiev's user avatar
0 votes
0 answers
35 views

Log file for e-mail messages downloaded?

I have three IMAP mailboxes, and one Exchange mailbox.  Some recent software update deleted ALL of my rules and added one "News from Apple" but left that inactive.  So there are no automatic ...
WGroleau's user avatar
  • 4,975
0 votes
1 answer
89 views

Understanding journal log when USB stick inserted (recover dead USB stick)

I have an USB stick which can't be mounted anymore. In fact it is worse since it doesn't appear in Disk Utility. Nevertheless, it seems to be detected as an USB device but not as a storage device... ...
MarcAntony's user avatar
0 votes
0 answers
73 views

How does the TTL field work for Unified Logs?

Running log stats --overview yields the following summary of all the logs on a mac. Comparing the start and end timestamps to the lists of TTLs, I don't understand how these work together. If there ...
Josh Brower's user avatar
0 votes
0 answers
123 views

How can I figure out which process caused a reboot?

My 2020 MacBook Air has been restarting itself every few days. I suspect an Electron app is going rogue and overheating my CPU. For example I use Evernote, and I often catch the renderer process ...
bertday's user avatar
  • 135
0 votes
0 answers
73 views

How to display Calendar logfile on Ventura?

I currently encounter some difficulties with the use of CalDAV delegates on Calendar 11.0. I have activated debug mode and CalDAV logging but I can't find the logfile.
Guuk's user avatar
  • 324
0 votes
0 answers
1k views

Check WiFi logs on macOS Ventura 13

I enabled WiFi logging by pressing Option ^ + WiFi icon in menu bar, and then went to check /var/log/wifi.log. The problem is that this file doesn't seem to record what I want, so I'm wondering if ...
MoonlessNightss's user avatar
0 votes
0 answers
25 views

Does Shutdown -r command write to system log?

man shutdown reads the following: At shutdown time a message is written to the system log, containing the time of shutdown, the person who initiated the shutdown and the reason. ...
mariano-daniel's user avatar
0 votes
1 answer
619 views

How do I make boot verbose in my Mac (i.e. Monterey) and also how can i see the specific boot log any time after (journalctl -k linux-like command)?

I would like to: Know how to configure my MacBookPro (Monterey), to boot in verbose mode (see all the messages cascade). Know if there is an equivalent for journalctl -k in Mac. (I know that there is ...
nostromo's user avatar
  • 197
0 votes
0 answers
62 views

How can I see these log messages from a perl script?

I have this small perl script, I run it as root: use strict; use Sys::Syslog qw( openlog syslog LOG_INFO ); openlog ('mamamia', 'ndelay', 'mail') or die "Cannot open syslog!"; syslog (...
gctwnl's user avatar
  • 714
4 votes
1 answer
401 views

Are there tools to allow export of Console.app output with same format?

So for years I have not found a way to export a clean output of results collected in the macOS Console app I primarily want to save my results in the same format as the data is organized in the ...
LOVΞFIЯΞ's user avatar
0 votes
0 answers
68 views

What is the location of macOS logon file?

Cant find location of OSX logon data file. Where I will be able to extract following info: DateStamps of console and tty creation. Username that run those sessions. How long sessions have been active....
BallyByte's user avatar
1 vote
1 answer
6k views

How to read microstackshots file?

In the root folder of the sysdiagnose logs analytic data there is a specific file named "microstackshots". Have someone tried to investigate its content? I could not find a way to execute/...
toniosol's user avatar
1 vote
0 answers
420 views

Mac OS configure syslog send logs to remote rsyslog server encrypted (TLS/SSL)

Can MacOS syslog, send logs to remote rsyslog server using TLS/SSL ?
user2410170's user avatar
0 votes
0 answers
52 views

Mac Sierra - find when something was deleted

My boss logged into my computer and deleted a series of text messages between us regarding my being injured at work. I have been able to recover the messages on my phone but I was wondering is there ...
Suzanne Dixon's user avatar
2 votes
1 answer
475 views

is there anyway to check what videos or images has been shared from my iPhone?

is there any thing like logs to see and check what videos and images has been shared from my iPhone to social media and private massaging apps like WhatsApp or messenger?
NiceSHowMoe's user avatar
-1 votes
1 answer
189 views

Mac console app does not connect by WLAN to devices

I want to lookup device logs using the console app (V1.1, 6.0.7). This works when a device is connected by cable. Devices connected by WLAN are however flagged as not connected, and their logs cannot ...
Reinhard Männer's user avatar
2 votes
1 answer
662 views

How to turn on and find connection logging for SMB Windows file sharing server log in macOS 12 (Monterey)+?

Having some trouble finding out if a Windows client is actually hitting a macOS 12 file server. It seems like they are, but I can't seem to find any connection / access logs that indicate such things ...
ylluminate's user avatar
  • 5,351
2 votes
2 answers
5k views

How to ship logs from macOS to a remote syslog server?

I have a standard syslog server running on a LAN host and listening on UDP port 514. I'm trying to have my Mac (running macOS 12.4 with SIP enabled) ship logs in syslog format to this remote server. I ...
luckman212's user avatar
  • 3,193
1 vote
0 answers
204 views

View log-levels for entries added by “logger” command

I log with /usr/bin/logger, which provides a switch -p to set the priority. Example: logger -p user.warning "My program crashed." I can see this message via the Console, but I don’t see its ...
Franklin Yu's user avatar
0 votes
0 answers
360 views

My MacBook Wake up for No Reason

My current system is MacOS Monterey 12.2.1. I found my MacBook waked up for no reason at night. At first I though it was because of my keyboard was pressed, so I switched off my Bluetooth mouse and ...
Litz's user avatar
  • 1
4 votes
2 answers
3k views

XProtect - Apple claims they do signature based antivirus but how do we know?

I read this Apple Support page that they use XProtect to scan for known viruses. I cannot find any evidence that XProtect is getting new definitions or scanning anything. Where can I find the logs and ...
Jonathan's user avatar
  • 151
4 votes
1 answer
6k views

Get Historic System Event Logs (Sleep, Restart, Wake-up etc)

How can I get the power-related events (Sleep, restart, wake-up) for the current system, like e.g. 2022-02-27T08:02:01 System Restarted 2022-02-28T08:34:32 Resumed from sleep 2022-02-28T15:15:11 Sleep ...
jaw's user avatar
  • 149
-1 votes
1 answer
1k views

How can I read Face ID logs in my iPhone?

I want to see what is stored in my iPhone when I use Face ID technology to log in. Is there any way to retrieve a log related to this topic from my iPhone?
Pitto's user avatar
  • 337
0 votes
1 answer
2k views

Where are the authentication logs, and how to send to remote syslog server

Where are the authentication logs (failed, successful logins) and how do you send them to a remote syslog server on the latest version of MacOS? It appears i'm part of of 0.1% of people who want to ...
dcom-launch's user avatar
1 vote
0 answers
124 views

macOS Monterey find last time Bluetooth mouse was connected

I have lost my Bluetooth Mouse. I would like to find the last date of connection to know when i last had it. I already tried blueutil --recent the output does update the time everytime I retry the ...
bobbycarbob's user avatar
0 votes
2 answers
329 views

Macbook crashes randomly. CPU problem?

MacBook Pro (Mid-2014 11,3) (C02P42JBG3QP) 11.6 My MacBook will crash randomly throughout the day as I'm working. If I leave it open and don't touch it, it will be fine. But as I use multiple apps, ...
Coe's user avatar
  • 1
2 votes
0 answers
31 views

Keep all messages in Console

On macOS High Sierra (10.13.6), Console.app automatically trims old messages when it exceeds 50000. Significance: When I'm searching for specific keywords or processes, after I select the relevant ...
Joy Jin's user avatar
  • 2,803
2 votes
0 answers
670 views

List all entries of 'Lock Screen' events from logs

I am trying to access the logs that show when the screen was locked (e.g Apple Icon > Lock Screen). After looking in the Console app I think the event is called 'kAELockScreenEvent', but I am not ...
user3379459's user avatar
2 votes
0 answers
3k views

What does ContextStoreAgent do, and how can its database errors be fixed?

On my macOS 11.5.2 (Big Sur) system, the logs are full of the following error reported by a process called ContextStoreAgent: CoreData: PostSaveMaintenance: performPostSaveTasks threw something (1). ...
jstarek's user avatar
  • 3,566
1 vote
1 answer
252 views

Macbook Pro Crashing when using Chrome

My MBP Pro has been crashing a lot recently. The display will go black, then the keyboard lights will turn off about 5 seconds later. Then it turns off completely. Then I'll have to hit the power ...
Jack Stewart's user avatar
1 vote
0 answers
778 views

Get Bluetooth (AirPods) logs

I am trying to find the last location of my lost AirPods. Is there a chance to find a log file in my iPhone showing the last connection with them? I do not have a macOS in order to use this solution ...
Ribas's user avatar
  • 11
1 vote
1 answer
612 views

Outgoing mail logs location?

I got a dead simple script for testing sending email from my local machine: #!/usr/bin/env perl print "Sending email to $ARGV[0]\n"; my $result = system qq(echo "Hello World" | ...
StevieD's user avatar
  • 1,516
1 vote
0 answers
949 views

Why is wifi log filling with Usb Host Notification messages?

A backup external hard drive (WD G Drive) is attached via USB. When I detach it, the messages below stop. When I reattach it, the messages don't continue. I was casually checking logs on a Mac with ...
Julius Baer's user avatar
1 vote
1 answer
69 views

Strange: Disk space is not free after removing file

I have a strange problem and hope I can find a solution here. I'm using a VPN to connect a linux server. When I downloaded ~2Gb binary file from the server to an extra data disk, I found the system ...
Shixiang Wang's user avatar
2 votes
1 answer
601 views

Terminal command to delete unnecessary logs

Avast antivirus says that my mac running Mojave has 1.25 GB of "unnecessary logs": The Avast website does not provide information about their meaning. What are they? How can I delete them ...
emonigma's user avatar
  • 1,047
1 vote
0 answers
149 views

Inspect kernelmanagerd log

With BigSur, I have the notorious problem of the kernelmanagerd process constantly using a large part of the CPU (at least 35/40%). so, following the various guides found online, I have: uninstalled ...
luke88's user avatar
  • 121
2 votes
0 answers
463 views

/private/var/log/install.log too big

'Too big' might be a relative concept, but most of the files I see in var/log are measured in KB. install.log is 1.7GB & goes all the way back to 2018. I'd kind of assumed that automatic trimming/...
Tetsujin's user avatar
  • 116k
0 votes
3 answers
3k views

Keynote, Pages and Numbers all quit unexpectedly

Today Keynote, Pages and Numbers all quit unexpectedly right after being launched. I only have time to see the "Select a document / New document" window for a second before the apps crash, ...
Nawra C's user avatar
  • 43
1 vote
1 answer
193 views

Determining/associating the log subsystem for apps installed via package managers

I've watched this highly informative talk on the unified logs and been reading whatever documentation or blog posts I can find on the subject, but I haven't found or don't understand how to link an ...
ian's user avatar
  • 471

1
2 3 4 5
8