When you start the database server from a command prompt on a Windows system, use the -debug switch. That switch is not required on Linux systems or when the database server is run as a Windows service.
After logging is enabled, use the dbadmin command to turn off logging so that you do not have to restart the database server. On Linux systems, dbadmin is in the $DOORSHOME/bin directory. On Windows systems, dbadmin is in the \DOORS_install\9.version\bin directory on the Rational DOORS client system.
doorsd -debug -loglevel 6 -logfile c:\Program Files\DOORS\9.version\logs\server_log.txt
Switch | Parameter | Description |
---|---|---|
-loglevel (L) | 0 - 6 | Level 0 equals no logging. Level 6 is the most verbose level of detail. |
-logfile (l) | log file name | The file name, including the path, where the server logging is located. |
dbadmin -data 36677@IBMEDSERV -serverlogging 0
dbadmin -data 36677@IBMEDSERV -serverlogging 0
doorsd -port 36677 -loglevel 6 -logfile /$DOORSHOME/9.6/logs/server_log.txt
dbadmin -data 36677@IBMEDSERV -serverlogging 0
While you are troubleshooting a problem, you might need to complete diagnostic steps with logging turned on at a specific level. To turn on logging to a specific level without restarting the database server, use the dbadmin -serverlogging switch to set the necessary level of logging; for example, dbadmin -d 36677@IBMEDSERV -serverlogging 3.