Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » The Database Server » The SQL Anywhere database server » Database server options

-on server option Next Page

-os server option


Specifies a maximum size for the console log, at which point the file is renamed.

Syntax

{ dbsrv10 | dbeng10 } -os { size[ k | m | g ] } ...

Applies to

All operating systems and servers.

Remarks

The size is the maximum file size for logging console messages, in bytes. Use k, m, or g to specify units of kilobytes, megabytes, or gigabytes respectively. The minimum size limit is 10 KB. By default, there is no maximum size limit.

Before the database server logs output messages to the console log, it checks the current file size. If the log message will make the file size exceed the specified size, the database server renames the console log to yymmddxx.slg, where yymmdd represents the year, month, and day the file was created, and xx is a number that starts at 00 and continues incrementing.

This option allows you to identify old console files that can be deleted to free up disk space.

This option cannot be used with the -on option.

See also