Wiki

Case Status
Log In

Wiki

 
How to get log files on a Mac
  • RSS Feed

Last modified on 7/16/2014 8:44 AM by User.

Tags:

How to get log files on a Mac

Based on user feedback, we have found that the alternate method works more often.

Command Line Method

If you were unable to use the Automator script to view hidden files, there is an alternate method you can try (borrowed from MacRumors: Guides).

To view hidden folders:

  1. Open the Terminal (located in /Applications/Utilities/)
  2. At the command prompt type
    		defaults write com.apple.finder AppleShowAllFiles -bool true
  3. Press return to execute the command.
  4. For the changes to take effect, either log out then log back in again, or relaunch Finder (this can be done from the Force Quit Window or by typing 'killall Finder' in a Terminal window).

To hide the hidden files again:

  1. Open the Terminal
  2. At the command prompt type
    		defaults write com.apple.finder AppleShowAllFiles -bool false
  3. then press return to execute the command.
  4. Log out then back in again, or relaunch Finder (explained above).

Go To Folder in Finder

Open finder and go to your home folder (usually your username; path = /home/[user]/). From there, go to the "Go" menu and select "Go to Folder" (Or press Command+Shift+G).

In the text box that appears, type ".oasis" and hit "Go."

You should now be in the .oasis folder, and you should be able to open the logs folder from here and send us the necessary files (or clear the folder, if that is what you were instructed to do).

Automator Method (OS 10.4 and before)

Open Finder and go to the home directory:

Right-click on it and select "Automator" from the list. A window will pop up. Under "Applications" select "Automator"

 

This will give you a list of different actions. From the "Actions" list drag "Run Shell Script" over to the right side:

In the text area type in the following exactly:

defaults write com.apple.finder AppleShowAllFiles TRUE
osascript -e ‘tell application “Finder” to quit’;
osascript -e ‘tell application “Finder” to activate’;

Then go up to "File" and "Save as".

Save it as something like "Show hidden files". Click on "run"

Once it is done running the window will close. Go back to the home directory. There should be a ".oasis" folder. Open it and in it there will be a "logs" folder. Click on the middle button at the top (see screen shot below) to be able to arange by date modified.

 Highlight the OASIS##.log files that are for the time frame in which your error occurred then e-mail them to Support@oasissalessoftware.com with related information about the problem, such as case number and details.

After you have done all of this you may want to create another Automator script to reverse the one that was just created. To do that follow the same steps but type in "FALSE" instead of "TRUE".