Modify
tmsplx.xml
and syslog.conf
to enable ServerProtect debug logging.Procedure
- Using a text editor such as
vi
, edit the following configuration files:WARNING
Making incorrect changes to a configuration file can cause serious system errors. Back uptmsplx.xml
andsyslog.conf
to restore your original settings. After modifying thesyslog.conf
file, restart the syslog service immediately before you continue.- Edit
tmsplx.xml
to define the debug level for each debug parameter (UserDebugLevel
andKernelDebugLevel
). - To assign the path and filename where ServerProtect will
write debug logs, edit
/etc/syslog.conf
.See Configuring syslog-ng for SUSE Linux for more information.
-
To direct all ServerProtect user debug logs to
/path/splx.log
, include the following line insyslog.conf
:local3.* /path/splxUserDebug.log
-
To direct ServerProtect kernel debug logs to
/path/splxKernDebug.log
, include the following line insyslog.conf
:kern.debug /path/splxKernDebug.log
- Edit
- Save and close the configuration file.
- Query PID.
ps -ef | grep syslogd (CentOS4 or CentOS5)
ps -ef | grep syslog-ng (SLES11 or SLED11)
- Reload configuration.
kill -HUP <syslogd PID> (CentOS4 or CentOS5)
kill -HUP <syslog-ng PID> (SLES11 or SLED11)
Note
To prevent Linux file operation errors, restart syslog before you restart the ServerProtect service. - Restart ServerProtect
service:
/etc/init.d/splx restart