Notice: The standard syslog location for Debian / Ubuntu systems : /var/log/syslog The standard syslog location for RHEL / CentOS systems : /var/log/messages |
Redirecting server.log output to syslog
The Backup Manager's server.log file contains startup and operational messages, such as task info, user logins, Backup / Restore / Verification task info etc...
Logging configuration for server.log is located here : /usr/sbin/r1soft/conf/log4j.properties
The section containing the log output destination looks like this by default :
To redirect server.log output to ONLY syslog , set the log destination options like this example, in log4j.properties:
Save and exit the file, and restart the Backup Manager service.
To redirect server.log output to BOTH server.log and syslog , set the log destination options like this example, in log4j.properties:
Save and exit the file, and restart the Backup Manager service.
To redirect server.log output to an external or central log host
Configure the rootLogger as explained above, and then update the following line in log4j.properties to reflect the hostname or IP of the central log host.
Example:
It's also possible to specify a custom port by appending :PORT to the end of the line.
Example:
Save and exit the file, and restart the Backup Manager service.
.
Typically these steps are sufficient to successfully send the server.log output to syslog. If after making the change listed above, the server.log output is not being sent to syslog (or if only startup messages are being sent), some additional configuration may be necessary to redirect the complete log. In most cases, this is because the UDP receiver may not be enabled. This option provides the ability to receive syslog messages via UDP.
.
This option can be enabled in : /etc/rsyslog.conf
Add or uncomment the following lines:
Save and exit the file, and restart the rsyslog service for the changes to take effect.
NOTE : In some cases, additional configuration to firewall and/or SELinux rules may be necessary. |
Redirecting monitor.log output to syslog
The Backup Manager's monitor.log file contains port bindings, Tomcat Web Server messages, Java and resource messaging ..etc.
Logging configuration for monitor.log is located here : /usr/sbin/r1soft/conf/server.conf
To direct monitor.log output to syslog :
Edit /usr/sbin/r1soft/conf/server.conf , and change the following line :
Save and exit the file, and restart the Backup Manager service.
NOTE : When restarting the Backup Manager, it's always good practice to enable Maintenance Mode, and allow all running tasks to complete before restarting the service. |