Logging the actions that the server takes is particularly useful during the development process and when troubleshooting.
Logging output is sent to the Server Messages window. In addition, you can send the output to a log file using the -o option. The following command sends output to a log file named dbsrv.log.
dbsrv10 -o dbsrvsrv.log -c ...
You can control the size of console log files, and specify what you want done when a file reaches its maximum size:
Use the -o option to specify that a log file should be used and to provide a name.
Use the -ot option to specify that a log file should be used and provide a name when you want the previous contents of the file to be deleted before messages are sent to it.
In addition to -o or -ot, use the -on option to specify the size at which the log file is renamed with the extension .old and a new file is started with the original name.
In addition to -o or -ot, use the -os option to specify the size at which a new log file is started with a new name based on the date and a sequential number.
You can specify a separate file where startup errors, fatal errors, and assertions are logged using the -oe option.