Skip to main content
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Source Link

Found it it in the Tooling API -

TraceFlag
Represents a trace flag that triggers an Apex debug log at the specified logging level.


• To set up a log for a specific user, set ScopeId to null and TracedEntityId to the ID of the user. This option can only be configured for a user, not an Apex class or Apex trigger.
• To configure logging levels for system logs (visible only to you), set ScopeId to user and TracedEntityId to the ID of the logged-in user.
• To set up a system log (visible only to you) for a specific Apex class or trigger, set ScopeId to user and TracedEntityId to the ID of the Apex class or trigger.

There is a good explanation in the answer to Debugging logs in Developer Console is not workingDebugging logs in Developer Console is not working

Found it it in the Tooling API -

TraceFlag
Represents a trace flag that triggers an Apex debug log at the specified logging level.


• To set up a log for a specific user, set ScopeId to null and TracedEntityId to the ID of the user. This option can only be configured for a user, not an Apex class or Apex trigger.
• To configure logging levels for system logs (visible only to you), set ScopeId to user and TracedEntityId to the ID of the logged-in user.
• To set up a system log (visible only to you) for a specific Apex class or trigger, set ScopeId to user and TracedEntityId to the ID of the Apex class or trigger.

There is a good explanation in the answer to Debugging logs in Developer Console is not working

Found it it in the Tooling API -

TraceFlag
Represents a trace flag that triggers an Apex debug log at the specified logging level.


• To set up a log for a specific user, set ScopeId to null and TracedEntityId to the ID of the user. This option can only be configured for a user, not an Apex class or Apex trigger.
• To configure logging levels for system logs (visible only to you), set ScopeId to user and TracedEntityId to the ID of the logged-in user.
• To set up a system log (visible only to you) for a specific Apex class or trigger, set ScopeId to user and TracedEntityId to the ID of the Apex class or trigger.

There is a good explanation in the answer to Debugging logs in Developer Console is not working

added 302 characters in body
Source Link
Daniel Ballinger
  • 103k
  • 40
  • 275
  • 601

Found it it in the Tooling API - TraceFlag

TraceFlag
Represents a trace flag that triggers an Apex debug log at the specified logging level.


• To set up a log for a specific user, set ScopeIdScopeId to null and TracedEntityIdTracedEntityId to the ID of the user. This option can only be configured for a user, not an Apex class or Apex trigger.
• To configure logging levels for system logs (visible only to you), set ScopeIdScopeId to user and TracedEntityIdTracedEntityId to the ID of the logged-in user.
• To set up a system log (visible only to you) for a specific Apex class or trigger, set ScopeIdScopeId to user and TracedEntityIdTracedEntityId to the ID of the Apex class or trigger.

There is a good explanation in the answer to Debugging logs in Developer Console is not working

Found it it the Tooling API - TraceFlag

• To set up a log for a specific user, set ScopeId to null and TracedEntityId to the ID of the user. This option can only be configured for a user, not an Apex class or Apex trigger.
• To configure logging levels for system logs (visible only to you), set ScopeId to user and TracedEntityId to the ID of the logged-in user.
• To set up a system log (visible only to you) for a specific Apex class or trigger, set ScopeId to user and TracedEntityId to the ID of the Apex class or trigger.

Found it it in the Tooling API -

TraceFlag
Represents a trace flag that triggers an Apex debug log at the specified logging level.


• To set up a log for a specific user, set ScopeId to null and TracedEntityId to the ID of the user. This option can only be configured for a user, not an Apex class or Apex trigger.
• To configure logging levels for system logs (visible only to you), set ScopeId to user and TracedEntityId to the ID of the logged-in user.
• To set up a system log (visible only to you) for a specific Apex class or trigger, set ScopeId to user and TracedEntityId to the ID of the Apex class or trigger.

There is a good explanation in the answer to Debugging logs in Developer Console is not working

Source Link
Daniel Ballinger
  • 103k
  • 40
  • 275
  • 601

Found it it the Tooling API - TraceFlag

• To set up a log for a specific user, set ScopeId to null and TracedEntityId to the ID of the user. This option can only be configured for a user, not an Apex class or Apex trigger.
• To configure logging levels for system logs (visible only to you), set ScopeId to user and TracedEntityId to the ID of the logged-in user.
• To set up a system log (visible only to you) for a specific Apex class or trigger, set ScopeId to user and TracedEntityId to the ID of the Apex class or trigger.