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: Enables FreshTomato logging. By default, FreshTomato saves logs to the router's internal memory, where they may be extracted or viewed directly on the Logs page. The logs consume router memory, but may be viewed directly on the router itself. (Default: Enabled).
Max size before rotate: Log rotation creates new log files and archives & removes old ones to save drive space. The number entered here specifies the maximum 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 rotated logs archive.
Custom Log File Path: Lets you set a custom log file path. A displayed tip reminds you to check the path exists and is writable.
(Default path: /var/log/messages).
Log To Remote System: Provides network support to the syslogd facility. This means 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: The IP address of the host to receive syslog data, and the port on which data are sent.
Generate Marker: Makes log files easier to read. Checking this causes “——MARK—–” to be inserted into the log
at the specified interval.
Events Logged:
Minimum Log Level: Here, 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:
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 to monitor (All Computers / The following / All except). (Default: All Computers).
Number of Entries to remember: 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 reboot. Consider using USB/CIFS/JFFS storage 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. This can also include some IPv6 tunneling protocols, such as 6in4 Static tunnel.