Tracing all session of a user - oracle database script

Tracing all session of a user - Oracle Database Script.

--- CREATE THE BELOW TRIGGER TO ENABLE TRACE ALL SESSION OF USER ( SCOTT) CREATE OR REPLACE TRIGGER USER_TRACE_TRG AFTER LOGON ON DATABASE BEGIN     IF USER = 'SCOTT'   THEN     execute immediate 'alter session set events ''10046 trace name context forever, level 12''';   END IF; EXCEPTION WHEN OTHERS THEN NULL; END; /