Questions tagged [logs]
System files that contain system event information, errors, and crash information.
343
questions
32
votes
5
answers
42k
views
Show Active Connections to "Internet Sharing"
How can I view a list of devices that are connected to my Apple laptop via Internet Sharing (when it's enabled)? If a list doesn't exist, does Internet Sharing log DHCP requests and if so, where? ...
0
votes
0
answers
27
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.
4
votes
2
answers
4k
views
/private/var/db/uuidtext/dsc directory huge size
I have /private/var/db/uuidtext/dsc directory full of files. Directory size is >100GB and constantly growing. I've deleted all the files and also tried to reboot my mac, but it doesn't help.
I've ...
0
votes
0
answers
56
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
17
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.
...
1
vote
1
answer
635
views
Viewing Logs on Startup volume that freezes
I have a MacBook Pro (Computer A) which freezes / restarts during startup.
To investigate the problem, I purchased a brand new internal disk and did a basic installation (10.13 - the latest this model ...
0
votes
0
answers
13
views
Disable cleanup/purging of crash reports
From the man page:
SubmitDiagInfo also cleans up any diagnostic and usage information which was created more than one month ago and is no longer needed.
How can I disable this behavior or set a ...
0
votes
1
answer
84
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 ...
2
votes
1
answer
3k
views
How do I know my mac turns off because of overheating?
My Macbook Pro (Yosemite) early 2011 sometimes unexpectedly turns off when running heavy tasks on battery power. Is there a way to confirm this is because of overheating?
Here's a part of system.log ...
0
votes
0
answers
37
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 (...
1
vote
1
answer
2k
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/...
3
votes
2
answers
5k
views
How to determine what is causing Mac Pro to automatically log out and where to find logs of logout events?
For the last week or so, I've been coming in to the office every morning to find my Mac Pro has logged itself out.
Mac Pro Late 2013
macOS Catalina Version 10.15.3 (19D76)
I have been randomly ...
4
votes
1
answer
177
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 ...
51
votes
7
answers
31k
views
Time Machine - List of Files that were backed up
I'd like to know to see which files are getting backed up by my time machine? I often see a large amount of data being transfered and I'm not sure sure what it is.
0
votes
0
answers
60
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
0
answers
188
views
Why is bluetoothd logging to bluetoothd-hci-latest.pklg endlessly, and is there any way to stop it?
I was playing around with the new eslogger binary that shipped with macOS 13 (Ventura). It's an amazing tool that exposes an easy interface to the Endpoint Security subsystem via Terminal. This ...
0
votes
0
answers
106
views
How to read lsaw file?
I run the sysdiagnose analytics and in the root folder I found a file named lsaw.csstoredump.
By googling it I didn't find any useful information other than you can extract it. I did it and the result ...
1
vote
0
answers
254
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 ?
-1
votes
1
answer
82
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 ...
0
votes
0
answers
50
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
48
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?
7
votes
6
answers
880
views
Is there an app that allows me to monitor time spent using an application?
Is there a tool that allows you to monitor the amount of time spent actively interacting with an application? This would be useful for development work to get an idea of just how long projects take.
...
2
votes
1
answer
379
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 ...
2
votes
2
answers
2k
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
3
answers
3k
views
PF Firewall : Every time I use `pfctl`, I get errors about ALTQ support
I have a slightly elaborate firewall setup where my server usually has between 400 and 800 ip addresses firewalled. It switches back and forth between two different pf tables. Every day it rebuilds ...
4
votes
1
answer
1k
views
Mac Sudden Motion Sensor: Obtaining activation state
Very similar to this SuperUser question, I'd like to know if there's a way to know when the SMS is actually engaged.
Note that I do not want to know if the sensor is enabled (which can be done from ...
71
votes
6
answers
54k
views
What is the 'deleted' daemon in macOS?
Since installing macOS 10.12 I noticed a flood of messages from deleted in the logs. I haven't been able to find any information about this daemon. Could anyone enlighten me what this does?
1
vote
0
answers
130
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 ...
3
votes
3
answers
1k
views
Where does SFTPD log to?
I have enabled logging in SFTPD by adding including the following in my /etc/sshd_config
subsystem sftp /usr/libexec/sftp-server -l DEBUG
But I can't find any log files. Where does sftp log ...
0
votes
0
answers
218
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 ...
3
votes
1
answer
875
views
WindowServer: (CoreDisplay) [com.apple.CoreDisplay:default] [DEBUG] spamming my console and doing excessive amounts of disk activity
Macmini8,1 (2018) running up to date 10.14.6 OSX Mojave:
My console is getting absolutely destroyed and followed with 'WindowServer: (CoreDisplay) [com.apple.CoreDisplay:default] [DEBUG]' messages and ...
3
votes
2
answers
2k
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 ...
52
votes
5
answers
91k
views
Where is the cron log file in MacOSX Lion?
I want to troubleshoot a cron job that worked fine until a recent modification, but I can't find the cron log file, where is it?
2
votes
1
answer
2k
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 ...
0
votes
1
answer
1k
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 ...
13
votes
2
answers
32k
views
What is "TALagent" and why is it "Exiting out of boredom"?
I'm trying to help a colleague whose MacBook periodically switches off without warning (I've had similar problems on a Mac Mini, so it's not power related).
While investigating the logs in Library/...
-1
votes
1
answer
418
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
305
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
104
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 ...
15
votes
3
answers
2k
views
WifiDiagnostics files filling up drive even with logging disabled
Since upgrading to OS X Catalina, I started getting disk full notifications. After some looking, I discovered the cause is ~400 MB files in /private/var/tmp like this:
WiFiDiagnostics_2019-10-23_12....
0
votes
2
answers
252
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, ...
1
vote
0
answers
18
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 ...
1
vote
0
answers
314
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 ...
5
votes
0
answers
870
views
MacOS unified logging: how can I filter messages based on tag on the command line?
I can add a message to the macos system log via the command line on Sierra or later as follows:
logger -t "TestTag" "testing 1 2 3"
How do I find all messages that have been tagged with TestTag?
I ...
1
vote
0
answers
2k
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). ...
23
votes
1
answer
38k
views
Is it safe to delete the content of ~/Library/Logs?
I would like to know if it is safe to delete the content of my ~/Library/Logs folder, because it is taking quite a lot of space.
I've found that it should be saved, but would be nice if there is ...
0
votes
1
answer
182
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 ...
0
votes
3
answers
2k
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, ...
1
vote
0
answers
484
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
0
answers
505
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 ...