Questions tagged [logs]
System files that contain system event information, errors, and crash information.
339
questions
0
votes
0
answers
26
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
137
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
58
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
117
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
67
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
1
answer
1k
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
196
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
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
40
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
67
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
299
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 ...
0
votes
0
answers
232
views
How to show dnsmsaq logs in apple unified log
Dnsmasq has the option to log queries to a file or the syslog. Logging queries to a file is way too verbose and fills the disk very quickly, so I need to use the syslog facility.
Since (at least) Big ...
0
votes
0
answers
112
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
185
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
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 ...
1
vote
1
answer
1k
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
338
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?
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 ...
1
vote
0
answers
97
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
235
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
17
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
257
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 ...
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). ...
0
votes
1
answer
173
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
429
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
253
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
387
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
59
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
377
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 ...
1
vote
0
answers
120
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 ...
2
votes
0
answers
330
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/...
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
1
answer
86
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 ...
2
votes
0
answers
2k
views
How do you turn on crontab logging on Big Sur?
I am running macOS Big Sur 11.2.1 and have several crontab jobs set up and they work fine, but I want to turn on the logging of all of my crontab jobs.
I have read that with the recently releases such ...
0
votes
0
answers
48
views
Logs in Console / Disk Usage
With a modern version of macOS, like Big Sur, if you open Console, you see tonnes and tonnes of messages streaming as soon as you press "start".
I was wondering, it seems like the chatter ...
3
votes
1
answer
846
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
1
answer
652
views
How can I find out which kernel extension has been updated?
I received a notification on Big Sur that an extension was updated and this must be authorised in System Preferences. It is 'System software from developer "Apple Inc."'. I find this odd:
I ...
1
vote
0
answers
383
views
Logging from AppleScript in Automator
I am writing an AppleScript (Run AppleScript item) from within an application in Apple Automator, but the Log panel at the bottom of the window does not display any logged messages (that is, anything ...
1
vote
0
answers
550
views
how remove Apple support screen sharing software
I contacted the Apple support team and the technician asked me to install a software on my macbook so as to share my screen with him. I granted "record screen" permission to this software.
A ...
1
vote
0
answers
50
views
Extracting diagnostic logs from iPad 2 with macOS Catalina
I have an iPad 2 from wich I want to extract the diagnostic logs.
The use case is a failed activation that blocks me from using the iPad or restoring it with my Laptop. I have a separate question for ...
2
votes
1
answer
830
views
macOS: find last time AirPods Bluetooth headphones were connected/in the range
I have either lost my AirPods either someone stole them, and I would like to find more details to find which possibilities is most likely.
Unfortunately my AirPods are not listed under Find My (...
0
votes
0
answers
842
views
How do I need to configure the macOS logging system to log LOG_INFO messages from Perl?
In the dovecot port for macOS in MacPorts, there is a pushnotify capability (requires you to be able to create the right certificates). This is perl code that contains the following snippet:
# Open ...
1
vote
0
answers
119
views
macOS removes log files in unwanted way
My computer is used for website development. As part of the website application, I have created log files, which previously had been stored in /var/log/webapps/appname (where appname varies per ...
-1
votes
1
answer
288
views
Could running Python and Matplotlib be keeping my computer from sleeping? How can I find out?
I have noticed that sometimes when I open my laptop the battery had dropped to 99% or even 97% after a day or so.
I have it set up to sleep after being closed for 5 seconds, and I've verified that by ...
1
vote
0
answers
122
views
Identify which user or process initiated normal shutdown?
I'd like to identify why (who, what) showdown my MacBook Pro while it was left unattended. Some unsaved work was lost. It is fairly likely that a careless admin script was run through some automated ...
0
votes
0
answers
20
views
User Directory contents lost after Catalina combo update
I was updating the Catalina Combo update, and after a while, the update is still there pending but many of my applications and most importantly All my directories and files in my home directory are ...
1
vote
0
answers
77
views
Logs of installed applications
Based on this question: How to read iPhone system logs?
Will I find in these logs when applications were installed?
1
vote
1
answer
599
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 ...
16
votes
1
answer
12k
views
Observing what Spotlight's mdworker is indexing for diagnostic purposes
There has been a history of people reporting mdworker processes taking up lots of CPU time on older machines, but apart from vague suggestions to just re-create the entire Spotlight index, I could not ...