Questions tagged [logs]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
11k views

Client side DHCP log

Is there a dhcp logfile available in osx (snow leopard or lion) where I can see when a new ip-address was received from the DHCP server?
3
votes
1answer
1k views

How to limit log file size in /var/log/DiagnosticMessages?

Every so often my Mac mini will fill up the hard drive with log messages in /var/log/DiagnosticMessages. It will be fine for weeks, then suddenly spew 30GB to a log file in a single day. I'd like to ...
3
votes
0answers
195 views

Append instead of overwrite log file by StandardOutPath and StandardErrorPath

I have a launchd job that periodically runs in the background. Any stdout and stderr output during the job is logged to some files set in the job's plist using the StandardOutPath and ...
3
votes
0answers
187 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 ...
3
votes
0answers
691 views

How to monitor Mac file sharing activity

I am a new Mac user and have struggled mightily to find an answer to this question in recent days. I’m running a MacOS Sierra client, and sharing a folder of files with other Macs on my local network....
3
votes
0answers
1k views

How to send macOS logs to syslog (graylog) server from /etc/asl.conf

I have recently setup a cool Graylog server for myself which I have various machines now sending their log output to. It's great and is helping me a ton. I want to do the same with macOS. There are ...
2
votes
2answers
69 views

Can you determine exactly when iMac was disconnected from power?

(This is not just question about when a normal power failure occurred) My 2017 iMac was stolen today during a break-in, but the internal hard drive was dead so it was running off of an external SSD. ...
2
votes
1answer
8k views

Can't find my apache error_log folder

new Mac (Yosemite) and setting up a new dev environment. At the moment cannot find any error_log folder at the following paths: /var/log/apache2/error_log /private/var/log/apache2/error_log /var/log/...
2
votes
4answers
2k views

How can I extend the time when system.log gets turned over?

Right now my system.log gets recreated every 24 hours or so with a message like: Jan 4 00:30:01 Mac newsyslog[63416]: logfile turned over Can I change a setting such that it will get rotated every ...
2
votes
4answers
165 views

Does Console.app also log passwords?

I'm a newb of OS X (or any flavor of *Nix for that matter) so this came to mind lately.. As the Console.app logs every single process that's running, does to also mean passwords & such are also ...
2
votes
2answers
1k views

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 ...
2
votes
2answers
87 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 |...
2
votes
1answer
324 views

Is there a log-in log on macOS?

I'm suspecting a roommate somehow got my password, and I want to confirm this hypothesis. Is there a log that keeps track of successful and failed log-ins? PS: I tried using the wake reasons log, but ...
2
votes
2answers
1k views

Can I delete the logs in the /private/tmp folder?

Seems like there are around 5,000 wifi logs, each 2MB each, totaling nearly 10GB on my disk in /private/tmp. Can I delete these logs, or will macOS automatically delete them itself? I tried making a ...
2
votes
1answer
869 views

How do I decode the contents of Apple System Logs in /var/log/DiagnosticMessages (using the command line)

I would like to decode the contents of the files in /var/log/DiagnosticMessages. My laptop currently has 52MB of such files: $ ls -l total 53572 -rw-r--r--@ 1 root admin 483660 Mar 11 22:48 2019....
2
votes
1answer
87 views

During Dictionary Attack, how can I Capture the attempted usernames and passwords?

I have several nefarious individuals attempting to gain access to my servers constantly with VNC, presumably using some kind of dictionary attack against the password. Is there a way to get a log of ...
2
votes
2answers
54 views

How can I see which files I used some days ago? [closed]

I had a telephone conference days three days ago. I took notes while talking and now I can't find them. It could be that I just tipped them into an open document or maybe I created a new one and didn'...
2
votes
1answer
5k views

Is there a good syslog viewer for mac?

I have many devices from which I want to get logs using a syslog server hosted on my iMac. To get in touch with logs and analyse them, I am looking for a good syslog viewer for mac which have the ...
2
votes
1answer
431 views

How to log login and logout on Mavericks?

I would like to know when I logged in and out on my mac. Is it possible?
2
votes
1answer
21k views

Is there a detailed activity log on Mac OS X that lists my recent commands and actions?

How can I see what I just did on my computer? For example, an activity log showing that I copied a file from here to there?
2
votes
1answer
25 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
1answer
267 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 ...
2
votes
1answer
155 views

How to add metadata to log archive, so that `log show --last` works?

Whenever I run the log show command from the command line, I get a warning message, log: warning: The log archive contains partial or missing metadata. This appears to prevent me from using the --...
2
votes
1answer
263 views

Does macOS keep iSight Camera usage logs?

Let's assume for this question that it is possible for hackers to gain access to your iSight camera, is it possible for you to check to see if such an incident has occurred by accessing the activity ...
2
votes
1answer
46 views

Can I delete StoreData found at /private/var/log/powermanagement/StoreData?

I had a problem backing-up my (mid-2007) iMac running El Capitan using SuperDuper. I sent SuperDuper the error log and they suggested that I delete StoreData found at /private/var/log/powermanagement/...
2
votes
1answer
197 views

Console log is telling me that database is locked for many apps. How do I unlock?

I'm trying to diagnose a MacMini that is painfully slow to start up. I already check the filesystem (fsck) and the disk (Disk Warrior). I am running High Sierra. My Mac is fine once it's up and ...
2
votes
1answer
978 views

Obtain AppleTV system logs

I have an Apple TV (4th generation). Since this is a true iOS device, I suppose it has system log like every Apple device. The device has some issues with waking up and I want to know the reason why ...
2
votes
1answer
69 views

How to change Console.app log queries' time format

I'd like to change the time format from 12 to 24 hours in the log queries. The logs themselves are already in 24-hour, but the queries show in 12-hour format. I checked asl.conf's man page but I ...
2
votes
1answer
2k views

OSX Terminal “last” does not show more logins before todays

In Mac OSX 10.12.1, using Terminal last does not show logins before today? I did read the earlier article and tried sudo last which did not reveal anything earlier.
2
votes
1answer
571 views

How do I confirm that my Mac has hibernated?

I believe I've correctly configured my MacBook Pro to hibernate (after a delay) when I close the lid, with the following settings standbydelay 900 standby 1 halfdim ...
2
votes
1answer
177 views

How to verify if pmset works correctly?

Is there any log, where I can see what pmset did and when? I am thinking about scheduling my macbook power on and the power off and scheduling some job in between to see if it worked, but is there ...
2
votes
2answers
398 views

Process is too verbose, how to stop it from flooding system.log?

I'm using this application (Solar.app) from Logitech to monitor the solar cells and batteries from their own solar keyboard (K750) One process is much too verbose and logs approx. 400 bytes in /var/...
2
votes
1answer
442 views

How to diagnose a crash from system logs?

I know you can get to the system logs from the Console and/or from the command line. That said, I don't know how to read them very well. How can I tell which events are related to a crash and which ...
2
votes
2answers
148 views

Is it possible to find out if a Mac was simply powered on (power button) but not logged into any account yet?

Sorry if this is a basic question: Is it possible to find out when a Mac was simply “powered on” (like just pressing the power button) and brought up to the login screen that shows the User Accounts, ...
2
votes
1answer
2k 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 ...
2
votes
1answer
2k views

How to check Guest user's log on os x?

I leave my Mac at my job and when I come back, someone used it using Guest user. Is there a way for me to check what this person did when he logged in my mac using Guest user?
2
votes
2answers
6k views

blank Parental Controls log display

After setting up a managed user on my daughter's laptop [2008 macbook pro, OSX 10.9.1], I tested that application and website logging worked - I was able to go into Parental Controls, bring up the ...
2
votes
1answer
576 views

Error in logs: kernel[0]: Validation failed, dataSuffix

I've the following errors in my system logs when running Pages (or any iWork app): Aug 4 19:01:09 kernel[0]: Validation failed, dataSuffix: Aug 4 19:01:09 kernel[0]: b9 d5 6f e2 28 3e b9 48 82 12 ...
2
votes
1answer
8k views

What information does iPhone 4S Log-Aggregated 2012-12-12 contain?

On the iPhone under the Settings > General > About > Diagnostics & Usage Data > log aggregated, what does this mean? <key>appActivationCount.com.apple.MobileSMS</key> <integer>...
2
votes
1answer
428 views

iPhone log for actions like deleting text conversations?

I recently found one of my long-running text conversations cleared. I may have deleted it accidentally, but I would like to know when I did. Is there a system log that logs information at this level?...
2
votes
1answer
1k views

Simple File Transfer Logs

This may be a general Unix question rather than a OS X question. I want to log general file transfers on OS X, whether it be from and to the same system or to another system, but to keep it simple ...
2
votes
2answers
264 views

Growl 1.3+: Location of (rollup) Log for use with GeekTool

Where can I find Growl's log(s)? Would like to use with GeekTool to display it on the desktop.
2
votes
1answer
25 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 ...
2
votes
0answers
31 views

Check system logs for “Service Battery” entry

I would like to find evidence of when the "Service Battery" warning has been activated. I knoow the console.app exists, but I'm not sure how to query it for what I am looking for. Why I want to do ...
2
votes
0answers
931 views

Was my Macbook Pro remotely accessed?

I'm running Mojave on a Macbook Pro. A while ago, my screen started randomly scrolling down by itself while I was using Safari, and the problem persisted for a few seconds. The scrolling seemed almost ...
2
votes
0answers
625 views

How to create a cron log file in macOS High Sierra

I have an issue with cron in macOS High Sierra. I have cron running, and it is running the jobs I want to run. I am unable, however, to figure out how to make it create a cron.log file in /var/log. ...
2
votes
0answers
38 views

How to get output from the console.app from a non-admin account?

I almost exclusively use a non-admin account for everyday use. Only for installing software, etc. I log in with the admin account. This normally works very well, however, there is one issue I haven't ...
2
votes
0answers
762 views

How to find if someone logged into my iPhone

I suspect that someone has logged on my iPhone (physical access, with my code) Is there a report of all connections with the hours that can be found on the iPhone so I can confirm my suspicions? If ...
2
votes
0answers
83 views

CPU freezes after Sierra update

Last night I managed to update to Sierra. Now there is a problem with the OS X speed. I read that there are Spotlight and iPhotos indexing stuff in the background. However, the main CPU usage comes ...
2
votes
0answers
2k views

macOS new logging api (unified logging) log stream

Questions: 1) How can we redirect the log stream from stdin to, for example lnav? Currently, I use bash | (pipe), but I would like to hear if there is a better way to do it - the pipe buffer flow is ...