15.10 - BY database_name - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Teradata Database
December 2015
Programming Reference

Community for which log entries should be made.

BY user_name
If you specify user_name, it must be a user currently defined in the Teradata Database. That is, a name for which space has been created and under which a session can be established.
Absence of the BY user_name option implies all users, that is, those already defined to the Teradata Database as well as any defined in the future while this logging directive is in effect. Logging begun for specific user names cannot be ended by omitting the BY user_name option.
If both BY user_name and ON keyword object_name are absent, then the specified action is logged for all users and objects throughout the system.