Jan 20, 2013, 02:49 PM
Does the mac keep system.log from more than one day ? when I try to reach it from the console I only get today's events but I need yesterday :()
edit : never mind found it
Jan 20, 2013, 03:14 PM
/private/var/log/ has all (or most) of the system logs, including system.log. Older rotated logs are bzip2 compressed and appended with a ".#" to the end of their name (ex: system.log.3.bz2).
Other areas of interest include: /Library/logs/, /Library/Application Support/CrashReporter/, ~/Library/Logs/ and ~/Library/Application Support/CrashReporter/
Apps that are sandboxed sometimes have their logs separated from the normal log folders. Check "~/Library/Containers/com.DEVELOPER.APP" and browse to the Logs/CrashReporter folders in those App's sandbox containers.
It's safe to delete the entire contents of any of those folders (not the folder itself), just make sure to Restart and then Repair Disk Permissions afterwards.
You can manually trigger a log rotation by Opening up Terminal and typing "sudo newsyslog -F". I also believe the periodic scripts rotate 1 or 2 logs, try "sudo periodic daily weekly monthly".
All of that aside, you should be able to view the logs in Console:
Click "Show Log List"