Site Tools


logging

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
logging [2021/09/23 00:44]
djk44883 syslog, logs system events
logging [2021/09/23 00:57] (current)
djk44883 remote logging from syslog man page
Line 2: Line 2:
  
 The Logging Page is divided into two sections. The Syslog section contains settings to enable and configure settings for Syslog, FreshTomato's main logging function. This function logs system events. The Web Monitoring section contains settings to enable and configure FreshTomato's Web Monitoring function. Web Monitoring is used to monitor log/monitor web searches and which domains have been visited. The Logging Page is divided into two sections. The Syslog section contains settings to enable and configure settings for Syslog, FreshTomato's main logging function. This function logs system events. The Web Monitoring section contains settings to enable and configure FreshTomato's Web Monitoring function. Web Monitoring is used to monitor log/monitor web searches and which domains have been visited.
- 
  
 ===== Syslog ===== ===== Syslog =====
Line 10: Line 9:
 **Max size before rotate: **// Log rotation// is a process that creates new log files and archives & removes old ones to save on drive space. The number entered here specifies the maximum storage space log files can occupy before they are rotated, in Kilobytes. **Max size before rotate: **// Log rotation// is a process that creates new log files and archives & removes old ones to save on drive space. The number entered here specifies the maximum storage space log files can occupy before they are rotated, in Kilobytes.
  
-{{https://wiki.freshtomato.org/lib/plugins/ckgedit/fckeditor/userfiles/image/logging-syslog.jpg?nolink&979x560|wiki.freshtomato.org_lib_plugins_ckgedit_fckeditor_userfiles_image_logging-syslog.jpg}}+{{https://wiki.freshtomato.org/lib/plugins/ckgedit/fckeditor/userfiles/image/logging-syslog.jpg?979x560&nolink|wiki.freshtomato.org_lib_plugins_ckgedit_fckeditor_userfiles_image_logging-syslog.jpg}}
  
 **Number of rotated logs to keep:** This specifies the **Number of rotated logs to keep:** This specifies the
Line 16: Line 15:
 **Custom Log File Path: **Checking this box allows you to specify a custom path for your log file. A tip is shown on this menu reminding you to make sure the path exists and is writable. (Deafult path: /var/log/messages). **Custom Log File Path: **Checking this box allows you to specify a custom path for your log file. A tip is shown on this menu reminding you to make sure the path exists and is writable. (Deafult path: /var/log/messages).
  
-**Log To Remote System: **Checking this enables the syslog function, allowing you log remotely, on a client PC or other deviceEnabling this will cause the Host or IP Address / Port fields to pop up, prompting you to fill those inRemote syslog software can make it easier to interpet/understand log resultsFor example, it can be used to display the logs in graphical form, and/or help to explain the log entries.+**Log To Remote System: **Checking this provide network support to the syslogd facilityNetwork 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(( 
 +[[https://linux.die.net/man/8/syslogd|https://linux.die.net/man/8/syslogd]] 
 +))
  
 **IP Address / Port:** In these two fields, you enter the IP address of the host machine to which syslog data will be directed, and the TCP/IP port which will be used to send that data. **IP Address / Port:** In these two fields, you enter the IP address of the host machine to which syslog data will be directed, and the TCP/IP port which will be used to send that data.
  
-**Generate Marker:** This makes log files easier to read. Checking this causes the word "——MARK—–" to be inserted into the log\\ +**Generate Marker:** This makes log files easier to read. Checking this causes the word "——MARK—–" to be inserted into the log\\  at the specified interval.
-at the specified interval.+
  
   * Disabled   * Disabled
Line 40: Line 40:
   * **Inbound** \\ Disabled - Disables logging of incoming connections. \\ If Blocked by Firewall - Logs incoming connection attempts blocked by the firewall. \\ If Allowed by Firewall - Logs incoming connection attempts allowed by the firewall. \\ Both - Logs all incoming connection attempts.   * **Inbound** \\ Disabled - Disables logging of incoming connections. \\ If Blocked by Firewall - Logs incoming connection attempts blocked by the firewall. \\ If Allowed by Firewall - Logs incoming connection attempts allowed by the firewall. \\ Both - Logs all incoming connection attempts.
   * **Outbound** \\ Disabled - Disables logging of outgoing connections. \\ If Blocked by Firewall - Logs outgoing connection attempts blocked by the firewall. \\ If Allowed by Firewall - Logs outgoing connection attempts allowed by the firewall. \\ Both - Logs all outgoing connection attempts.   * **Outbound** \\ Disabled - Disables logging of outgoing connections. \\ If Blocked by Firewall - Logs outgoing connection attempts blocked by the firewall. \\ If Allowed by Firewall - Logs outgoing connection attempts allowed by the firewall. \\ Both - Logs all outgoing connection attempts.
-**Limit:**  This specifies the maximum number of messages per minute the system will log. Enter '0' for unlimited. (Default: 60). 
  
 +**Limit:**  This specifies the maximum number of messages per minute the system will log. Enter '0' for unlimited. (Default: 60).
  
 ===== Web Monitor ===== ===== Web Monitor =====
Line 47: Line 47:
 Clicking **Enable >>** Takes you to the Administration/Logging page (including Syslog settings) 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 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). **Monitor**: Select the Device/s you wish to monitor (All Computers / The following / All except). (Default: All Computers/Devices).
Line 63: Line 63:
 NOTE: the content of the default (\tmp) folder will be emptied ater a reboot. You might consider using USB/CIFS/JFFS storage as an alternative for more permanent storage. NOTE: the content of the default (\tmp) folder will be emptied ater a reboot. You might consider using USB/CIFS/JFFS storage as an alternative for more permanent storage.
  
-\\ +\\  NOTE REGARDING ENCRYPTION: 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 can't monitor direct TOR or VPN connections because they are already encrypted.
-NOTE REGARDING ENCRYPTION: 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 can't monitor direct TOR or VPN connections because they are already encrypted.+
  
  
logging.txt · Last modified: 2021/09/23 00:57 by djk44883