Questions tagged [logs]
System files that contain system event information, errors, and crash information.
359 questions
0
votes
0
answers
63
views
com.apple.xpc.launchd's log getting filled with "denied lookup: name = com.apple.audio.audiohald … Sandbox restriction"
The /var/log/com.apple.xpc.launchd/launchd.log file on a Mac computer (Mac Mini M1) is getting lots of the following lines (about 4160 per minute, which is 66 per second):
2024-10-21 16:28:09.167884 (...
1
vote
1
answer
30
views
Replacement for /usr/bin/logger?
I am looking for a replacement for good old logger which is adapted to the new macOS logging. It should which read from stdin.
Especially I want to set a kind of tag to more easily filter output later ...
0
votes
1
answer
397
views
Mac Console syslogd[360]: ASL Sender Statistics - logging messages
I looked on the Mac Console app's system.log to determine the cause of network disconnection events, and saw these "ASL Sender Statistics". A Reddit post (https://www.reddit.com/r/MacOS/...
1
vote
0
answers
35
views
Matter development - Matter Accessory - Apple Ecosystem [closed]
What is the best way of logging the pairing / commissioning process of Matter and HomeKit Accessories (Console logs are encrypted / lacking).
I could not find any specific software or documentation ...
0
votes
0
answers
17
views
Can I replicate the behaviour of remote_syslog2 using syslog.conf and asl.conf?
I need to share the syslog over udp to a remote server. I have configured syslog.conf to share the logs with . @remote_server:ip, but not all logs are getting transferred to the server, logs on user ...
0
votes
1
answer
47
views
Log of Finder delete actions?
Is there a way to see the filenames of files I recently pressed cmd-backspace on in Finder?
I was deleting some folders in Application Support belonging to apps I uninstalled long ago. I was just ...
0
votes
0
answers
189
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....
0
votes
0
answers
31
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 ...
0
votes
0
answers
44
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-...
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). ...
0
votes
0
answers
104
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 ...
1
vote
1
answer
54
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 ...
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 ...
0
votes
1
answer
2k
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 ...
3
votes
1
answer
258
views
sysdiagnose won’t work on iPhone but has haptic feedback
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 (...
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 ...
0
votes
1
answer
120
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... ...
0
votes
0
answers
124
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 ...
0
votes
0
answers
257
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 ...
0
votes
0
answers
91
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.
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 ...
0
votes
0
answers
28
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.
...
0
votes
1
answer
907
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 ...
0
votes
0
answers
70
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 (...
4
votes
1
answer
481
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 ...
0
votes
0
answers
87
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....
0
votes
2
answers
7k
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/...
1
vote
0
answers
493
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 ?
0
votes
0
answers
56
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 ...
2
votes
1
answer
895
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?
-1
votes
1
answer
246
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 ...
2
votes
1
answer
798
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 ...
3
votes
2
answers
7k
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 ...
1
vote
0
answers
235
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 ...
0
votes
0
answers
402
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 ...
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 ...
6
votes
1
answer
9k
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 ...
-1
votes
1
answer
2k
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?
1
vote
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 ...
1
vote
0
answers
136
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 ...
0
votes
2
answers
350
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, ...
2
votes
0
answers
34
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 ...
2
votes
0
answers
836
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 ...
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). ...
1
vote
1
answer
277
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 ...
1
vote
0
answers
885
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 ...
1
vote
1
answer
764
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" | ...
1
vote
0
answers
1k
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 ...
1
vote
1
answer
71
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 ...
2
votes
1
answer
667
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 ...