This is an old revision of the document!
The Logging Page contains two sections. The Syslog section has settings to enable and configure settings for Syslog, the main function that logs system events. Web Monitoring contains settings to enable/configure the function to let you monitor log/monitor web searches and which domains have been visited.
Log Internally: This enables FreshTomato's logging. By default, FreshTomato saves logs to the router's internal memory, where they may be extracted or viewed directly on the Logs page. These logs will consume router memory, but may be viewed directly on the router itself. (Default: Enabled).
Max size before rotate: Log rotation is a process that creates new log files and archives & removes old ones to save drive space. The number entered here specifies the maximum storage space log files can occupy before they are rotated, (in Kb).
Number of rotated logs to keep: Specifies how many rotated log files will be maintained in the archive of rotated logs.
Custom Log File Path: Checking this lets you specify a custom path for the log file. A displayed tip reminds you to check the path exists and is writable. (Deafult path: /var/log/messages).
Log To Remote System: Enabling this provides network support to the syslogd facility. Network support means that messages can be forwarded from one node running syslogd to another node running syslogd where they will be actually logged to a disk file. 1)
IP Address / Port: Here, enter the IP address of the host to receive syslog data, and the port over which data will be sent.
Generate Marker: Makes log files easier to read. Checking this causes the word “——MARK—–” to be inserted into the log
at the specified interval.
Events Logged:
Minimum Log Level: In this menu, you select the minimum level of messages to be logged.
Here, “minimum” means that whichever option you select from the list, that level's messages and all those
higher in the list will be logged.
Connection Logging:
Clicking Enable » Takes you to the Administration/Logging page (including Syslog settings)
Monitor Web Usage: Checking or unchecking this enables or disables Web Monitoring. (Default: Disabled)
Monitor: Select the Device/s you wish to monitor (All Computers / The following / All except). (Default: All Computers/Devices).
Number of Entries to remember: Here, enter the number of Domains visited and the number of Searches FreshTomato will record in the log file. Entering “0” makes the number unlimited (and therefore) allows an unlimited log size. Make certain you the have storage space.
Daily Backup: If checked, enables backup of Web Monitor logs to the default backup directory. (Default: Disabled).
Clear Data After Backup: If enabled, this will empty the log file after the backup is performed. (Default: Disabled)
Backup Directory: Specifies where backup files will be stored. (Default: /tmp).
NOTE: Contents in the default (\tmp) folder are emptied after a reboot. You might consider using USB/CIFS/JFFS storage as an alternative for more permanent storage.
Web usage will not work properly if the FreshTomato client you wish to monitor is running a direct TOR or VPN connection to the Internet. FreshTomato cannot monitor direct TOR or VPN connections because they are already encrypted.