EasyManua.ls Logo

Sybase Adaptive Server Anywhere - Page 37

Sybase Adaptive Server Anywhere
1182 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 2 The Database Server
19
If you run the database server as a Windows NT service, you can suppress
NT event log entries by setting a registry entry. The registry entry is
Software\Sybase\Adaptive Server Anywhere\7.0
To control event log entries, set the EventLogMask key, which is of type
REG_DWORD. The value is a bit mask containing the internal bit values for
the different types of event messages:
errors EVENTLOG_ERROR_TYPE 0x0001
warnings EVENTLOG_WARNING_TYPE 0x0002
information EVENTLOG_INFORMATION_TYPE 0x0004
For example, if the EventLogMask is set to zero, no messages appear at all.
A better setting would be 1, so that informational and warning messages do
not appear, but errors do. The default setting (no entry present) is for all
message types to appear.
Database server switches
These switches apply to the server as a whole, not just to an individual
database.
@filename command-line option
Read in command-line switches from the supplied file. Comments must be
preceded by the number sign (#).
[ dbsrv7 | dbeng7 ] @
filename
...
All operating systems and servers.
The command-line file may contain line breaks, and may contain any set of
command-line switches.
The following command file holds a set of command-line switches for a
server named myserver that starts with a cache size of 4 Mb and loads the
sample database:
-c 4096
-n myserver
c:\asa7\asademo.db
If this configuration file is saved as
c:\config.txt
, it can be used in a command
line as follows:
dbsrv7 @c:\config.txt
The following command file contains comments:
Suppressing
Windows NT event
log messages
Function
Syntax
Applies to
Description
Examples

Table of Contents

Related product manuals