Questions tagged [logs]

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

Logs are system files that contain system event information, errors, and crash information. They can be read by any text file viewer, but are generally accessed through .

356 questions
5
votes
0 answers

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 can use log stream but I can't find how to filter…
3
votes
2 answers

Can I find out the last time a specific USB was connected to my MBP?

I recently (within the last month) lost an external Hard drive - it had years of photos on it and I am devastated. To try and jog my memory, I am trying to find a way to find out the last time I connected it to my MacBook. Is this possible in any…
2
votes
2 answers

Log everything in OSX (not just what I see in console)

Is there any way I can log everything of what happens in Mac OS X snow leopard and not just what I can see in the console? I can barely see errors logs there, I would like to see which applications asked for which resource in my computer and log all…
Saturnix
  • 289
  • 1
  • 4
  • 18
1
vote
0 answers

Logs of installed applications

Based on this question: How to read iPhone system logs? Will I find in these logs when applications were installed?
Warok
  • 111
1
vote
0 answers

How to see the log of specific activity on Mojave?

There are applications (eg. timing app.com) which once installed can log one's daily activity (websites visited, docs opened, time spent on an app etc.), but how can one do this without installing software - ie. on console. What are the specific…
1
vote
2 answers

Visualize Syslog on OSX

I'm looking for a GUI (or terminal if there is no GUI) application that provides the following: Visualization of syslog logs. Filtering: For example, I can filter a particular type of logs, a particular PID, etc.. Basically, I have an application…
Omar Abid
  • 241
0
votes
0 answers

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 (LOG_INFO, 'MAMAMIA MAMAMIA MAMAMIA MAMAMIA MAMAMIA MAMAMIA…
gctwnl
  • 694
0
votes
1 answer

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 send their security-related MacOS logs to a SIEM,…
0
votes
2 answers

How can I get the last logins/shutdowns/restarts located on a volume from another Mac?

I'd like the last command to display login/logout information located on a volume from another Mac. I've mounted that volume at /Volumes/1013. Where does last get that information from? I'd rather open the relevant log file and read it directly than…
Antonio23249
  • 1,833
0
votes
1 answer

OSX System Logs: What would a port scan look like?

Im considering programming a script to scan a system log in search for an entry indicative of a port scan, in doing so, potentially giving me a heads-up if anyone is taking interest in me. I already have a program like this which alerts me through…
0
votes
1 answer

How can one start a process and monitor its syslog messages?

I would like to start a process and monitor its LOG_DEBUG syslog messages. I know that I can change the filter of an already running process with syslog -c process (and then monitor its messages with syslog -w -k Sender process), but that requires…
eggyal
  • 488
0
votes
1 answer

Why are my crash logs disappearing?

My mid-2010 MacBook Pro was diagnosed with the infamous nVidia graphics card defect (I went to an AppleStore two weeks ago, they ran the video system test, and it failed), and since it manifested later than 3 years after purchase, I do not qualify…
zneak
  • 2,996