Difference between revisions of "SET SYSLOGGING"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 15: | Line 15: | ||
==See Also== | ==See Also== | ||
− | ERROR(), MESSAGE(), DB_LOGDIR | + | [[ERROR()]], [[MESSAGE()]], [[DB_LOGDIR]] |
Line 21: | Line 21: | ||
When SET SYSLOGGING is ON internal system logging is performed while the process is running. The information logged can be used to find performance problems or track down system errors. The format of the log file is as follows: | When SET SYSLOGGING is ON internal system logging is performed while the process is running. The information logged can be used to find performance problems or track down system errors. The format of the log file is as follows: | ||
− | {| | + | {| class="wikitable" |
− | + | !Column Number||Description | |
|- | |- | ||
|One||Process ID of the user writing the line to the log file | |One||Process ID of the user writing the line to the log file | ||
Line 46: | Line 46: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
− | set syslogging on</ | + | set syslogging on</code> |
==Products== | ==Products== | ||
Recital Database Server, Recital Mirage Server, Recital Terminal Developer | Recital Database Server, Recital Mirage Server, Recital Terminal Developer | ||
+ | [[Category:Documentation]] | ||
+ | [[Category:Commands]] | ||
+ | [[Category:Set_Commands|SYSLOGGING]] |
Revision as of 12:22, 12 March 2009
Contents
SET SYSLOGGING
Class
Environment
Purpose
Enable or disable internal system logging
Syntax
SET SYSLOGGING ON | OFF | (<expL>)
See Also
Description
When SET SYSLOGGING is ON internal system logging is performed while the process is running. The information logged can be used to find performance problems or track down system errors. The format of the log file is as follows:
Column Number | Description |
---|---|
One | Process ID of the user writing the line to the log file |
Two | Date line was written |
Three | Time line was written |
Four | Internal file name |
Five | Internal line number |
Six | Operating system error number |
Seven | General description |
All the logging information is written to a file called recital.log. If the environment variable DB_LOGDIR is not defined, then the log files are created in the root directory, otherwise the log files will be created in the specified directory.
This command allows the optional logical expression <expL> to be evaluated. If a value of .T. is returned, SYSLOGGING is set ON. If a value of .F. is returned, SYSLOGGING is set OFF. By default SYSLOGGING is OFF.
Example
set syslogging on
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer