When you enable command auditing, Replication Server records information on each user
action that results in an entry to the audit log:
- Execution of any command belonging to the classes of commands that are
recorded.
- Failure to execute a command because the user lacks the required permissions.
For example, create user requires sa permission.
- Failure to execute a command for other reasons, such as syntax errors.
- User who started Replication Server.
- Number of failed login attempts.
Note: Command auditing records passwords in the log file as asterisks: *****.
Command auditing records entire batches of
commands, even if there is only one command that includes the type of information
recorded, or that belongs to a command class that is recorded. Command auditing inserts
the error description in the log, before the batch.