Monitoring FileMaker Server : Viewing log file entries
 
Viewing log file entries
Note  The following information is for server administrators and group administrators.
FileMaker Server tracks activity, client access, and other information as it operates and stores this information in log files. Use the Log Viewer pane in Admin Console to view, sort, filter, and export a snapshot of the log file entries.
To view log file entries in the log viewer:
1. Click Log Viewer.
2. Click Modules, then select one or more log file modules. Click OK. See Selecting the log file modules.
3. Select a date range on the calendars next to Start and End or leave the current date. See Selecting a date range.
4. To filter the log file entries displayed in the Log Viewer pane based on type, select a level of message (All, Error, Warning, or Information) for Type. See Filtering and sorting the log file entries.
5. To filter the log file entries displayed in the Log Viewer pane based on string matching in the Description column, enter a filter string in the Filter field and click Filter. See Filtering and sorting the log file entries.
6. To view the most recently logged events, based on the options selected in the steps above, click Refresh. See Refreshing the log viewer.
7. To export the displayed log file entries, click Export. See Exporting the log file entries.
Selecting a date range
To display events logged during a specific time period, click the calendars next to Start and End and select the start and end dates of the date range. All dates begin at 12:00 AM and end at 11:59 PM. If you select a start date and end date that are the same day, the date range is for a single 24-hour period. You can view log file events in the Log Viewer pane that were logged anytime in the past 15 days. Whenever you change the date range, Admin Console displays a new snapshot of the log files that are selected.
Note  If you want to view older log entries in OS X, you can open the log file in OS X console.
Selecting the log file modules
To display entries from one or more specific log files, click Modules, select one or more of the following log file modules, and then click OK:
 
For Modules, select
To display entries from these log files
Server Events
Event.log and Event-old.log. See Event log.
Server Access
Access.log and Access-old.log. See Access log.
Web Publishing Core
Whenever you select log file modules, the log viewer displays a table of the logged events in the selected date range from the associated log files that are stored on the master machine. Each row of the table represents an individual logged event. See the Notes below for details on managing the log file.
Filtering and sorting the log file entries
To specify the level of message to display, select All, Error, Warning, or Information for Type. Your selection applies to the log file entries currently displayed in the Log Viewer pane. To sort the entries in ascending or descending order, click a column heading, such as Event or Type.
To filter the messages displayed in the Log Viewer pane based on string matching in the Description column, enter a filter string in the Filter field and click Filter. The filter string is not case sensitive. For example, the filter string "max" displays all log messages that contain "Maximum" or "maximum" in the description.
To stop filtering based on string matching and display all log messages, delete the filter string in the Filter field and click Filter.
Refreshing the log viewer
The Log Viewer pane displays a snapshot of log entries from the selected log file modules. The log entries are not dynamically updated as FileMaker Server logs new events in the log files. Click Refresh to update the Log Viewer pane with the most recently logged events.
Exporting the log file entries
You can export the currently displayed log file entries in the Log Viewer pane to a file. The exported file lists the events in the sort order specified in the Log Viewer pane.
To export the Log Viewer to a file:
1. Click Export.
2. By default, the contents are saved in the file Export.tab.
Windows: Depending on your browser, the file is saved in the Downloads folder. With some browsers, a new tab opens with the contents, and you can save the file with a new filename in a specific location.
OS X: The Export.tab file is saved in your browser’s download folder.
3. Open and view Export.tab file in any text editor.
Notes
If you are a group administrator, your server administrator must configure your administrator group to allow you to view log file entries. For more information, contact your server administrator.
You can use the Log Viewer pane when the Database Server is running or stopped.
To sort items in the list in ascending or descending order, click a column heading.
To resize the width of a column, select the column heading border and drag it horizontally.
To put the columns in a different order, click a column heading, drag it, and drop it at the desired location.
If the table in the Log Viewer pane is empty or you do not see the log file entries you expect, here are some possible causes:
Modules — No log file module is currently selected for Modules, or a log file required by a selected module is currently empty or not available.
Date range — No log file information exists for the selected date range based on the selected log file modules and level of message for Type.
Type — The level of message selected for Type does not exist based on the selected log file modules and date range.
In a two-machine deployment, the log files are on the same machine as the FileMaker Server component that generates the log. Log entries from master and worker machines are consolidated on the master machine so that Admin Console can open all of the Log entries in the Log Viewer pane.
To view log file events older than 15 days, open the log file using any application capable of opening plain text files or the OS X Console application. You can open the log file in the
OS X Console application while FileMaker Server is running. Events are logged continuously, with the most recent log entry at the bottom of the Console application window. All log files are located in the Logs folder:
Windows: [drive]:\Program Files\FileMaker\FileMaker Server\Logs
OS X: /Library/FileMaker Server/Logs
Windows: If FileMaker Server is installed in a non-default location, the beginning portion of the default path shown above, \Program Files\FileMaker\FileMaker Server, is replaced with the path that was specified during installation. For example: \My_Path\Logs
Related topics 
Monitoring FileMaker Server
Logging and statistics settings
Viewing server statistics
General web publishing settings