Questions tagged [logs]
System files that contain system event information, errors, and crash information.
330
questions
0
votes
0
answers
10
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
16
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
23
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
79
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
58
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
150
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 ...
0
votes
0
answers
18
views
How to retrieve old logs that are no longer in var/log/ [duplicate]
Is there a way recover old (going back to early-mid Nov 2021) system log files that are no longer in var/log/?
1
vote
0
answers
33
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
111
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
11
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
28
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 ...
0
votes
0
answers
41
views
Wifi logging roaming
I was looking at my wifi logs (i have wifi logging enable)
from time to time i have something like this :
Tue Dec 15 13:21:12.857 Driver Event: <airport[175]> _bsd_80211_event_callback: ...
1
vote
0
answers
554
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
94
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
0
answers
7
views
Routing apple native logs of specific module to rotating set of files
one of the benefits of using Apple native logging framework (NSLog or os_log) is the synchronization between multiple processes generating log messages to the same console -
It's achieved by managing ...
1
vote
0
answers
160
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
48
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
51
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
47
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
149
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
82
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 ...
1
vote
0
answers
123
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
58
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
1k
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
45
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 ...
1
vote
1
answer
637
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
499
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
174
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
388
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
41
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 ...
1
vote
1
answer
319
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
493
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
81
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
139
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 ...
0
votes
0
answers
46
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
19
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
47
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
411
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
11k
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 ...
0
votes
1
answer
100
views
How do I browse logs in /var/log in Console.app on Catalina?
Up to and including Mojave, /var/log was listed in the sidebar of Console.app, allowing me to browse subfolders and, for instance, look at /var/log/powermanagement logs for previous days.
But in ...
0
votes
1
answer
32
views
Where are OS-level crash reports stored? [duplicate]
I have a machine that has some intermittent rebooting. When it restarts, I get the familiar dialog to report this to Apple. I don't always remember to save the details of the crash. I'm sure that ...
2
votes
1
answer
54
views
How can I log edits to the hosts file?
A guy I'm helping fix his Mac and he's got some process on there editing his host file to redirect queries to the Minecraft authentication servers (authserver.mojang.com and sessionserver.mojang.com) ...
2
votes
2
answers
448
views
Deleting Wifidiagnostics file and others under private/var/temp and /folder on Catalina
Is it safe to delete the Wifidiagnostics file even though its in private/var/tmp?
My understanding was that it's better to leave those folders alone in Catalina but I'm not that experienced a user.
...
1
vote
1
answer
3k
views
Where are the memory and kernel logs stored in macOS Catalina?
I want to learn how to debug kernel crashes and am not at all familiar with macOS logging. Specifically the logs files that might reveal a system crash for example due to kernel panics.
Does Apple ...
2
votes
2
answers
308
views
Battery status and replacement
About a week ago my battery status (MacBook Pro mid 2017) claimed that the battery should be replaced after 250 cycles. Now, all of a sudden the battery status has returned to normal.
ioreg -l -w0 |...
5
votes
1
answer
3k
views
Can I have launchctl output stdout/stderr from my application to the system-wide Unified Logging mechanism?
I have set up a custom .plist in ~/Library/LaunchAgents to run a process (offlineimap) on a periodic basis. I've specified both the StandardOutPath and StandardErrorPath keys to point to files in my ...
1
vote
1
answer
54
views
Log/list of external/unauthorized programs that were given permission to open
When an app/program is not from an authorized developer, it cannot be opened directly because of security settings.
These security settings can be overridden by adding the app as an exception to the ...
2
votes
1
answer
40
views
Can iOS apps retrieve user access logs after being deleted?
Specifically, I used an iPad app while it was offline, then deleted it. I assume that it keeps logs of access into the app and whatnot. Can an app be able to gain access to these offline logs after ...