> # Changing the Debug Log Level for Active Services and Sessions

> You can change the debug log level for active services and sessions when a monitoring profile is enabled:

> - If you change the debug log level for an active service, the change becomes effective immediately, but reverts to its original setting when the service is next restarted.
> - If you change the debug log level for an active session, the change becomes effective immediately, but expires when the session ends.

> ### Changing the Debug Log Level for an Active Service

> When a monitoring profile is enabled, you can change the debug log level for an active service. The change is effective immediately, but reverts to its original setting when the service is next restarted.

> #### Changing the Debug Log Level for an Active Service Using the SequeLink® Manager Snap-in

> 1. Using the SequeLink Manager Snap-in, right-click the service for which you want to change the debug log level, and select Properties.
> 2. Click the Debug Log Level tab, and change the debug log level by selecting one or multiple check boxes.

> For more information about using the SequeLink Manager Snap-in, refer to the SequeLink Administrator's Guide.

> #### Changing the Debug Log Level for An Active Service Using the SequeLink® Manager Command-Line Tool

> Use the SequeLink Manager command ServiceActiveDebugLogLevel, which has the format:

>     {ServiceActiveDebugLogLevel | sadll} service_name
>     [ [{dis | disable}]
>     [{enall |  enableall}]
>     [{en | enable}]
>     [{ferr | fatalerror}={off | on}] |
>     [{err | errors=off | on}] |
>     [{war | warnings}={off | on}] |
>     [{info | informationals}={off | on}] |
>     [{debug | debugging}={off | on}] |
>     [{sspp | ssppackets}={off | on}] |
>     [{sspr | ssprequests}={off | on}] | ... ]

> where service_name is the active service for which you want to display or change debug log levels. Service names can be obtained using the `ServiceList | sl` command.

> The following example turns on debug messages and turns off error messages in the debug log for the SLOracle10 data access service:

>     sadll SLOracle10 debug=on err=off

> For more information about using the SequeLink Manager Command-Line Tool, refer to the SequeLink Administrator's Guide.

> ### Changing the Debug Log Level for an Active Session

> When a monitoring profile is enabled, you can change the debug log level for an active session. The change is effective immediately, but expires when the session ends.

> #### Changing the Debug Log Level for an Active Session Using the SequeLink® Manager Snap-in

> 1. Using the SequeLink Manager Snap-in, select the service that owns the session for which you want to change the debug log level.
> 2. Select the Monitor node.
> 3. Select the Active Sessions node.
> 4. Right-click the session for which you want to change the debug log level, and select Properties.
> 5. Click the Debug Log Level tab, and change the debug trace level by selecting one or multiple check boxes.

> For more information about using the SequeLink Manager Snap-in, refer to the SequeLink Administrator's Guide.

> #### Changing the Debug Log Level for an Active Session Using the SequeLink® Manager Command-Line Tool

> Use the SequeLink Manager command ServiceDebugLogLevel, which has the format:

>     {SessionDebugLogLevel | sesdll} service_name
>     [ [{dis | disable}]
>     [{enall | enableall}]
>     [{en | enable}]
>     [{ferr | fatalerror}={off | on}] |
>     [{err | errors}={off | on}] |
>     [{war | warnings}={off | on}] |
>     [{info | informationals}={off | on}] |
>     [{debug | debugging}={off | on}] |
>     [{sspp | ssppackets}={off | on}] |
>     [{sspr | ssprequests}={off | on}] | ... ]

> where service_name is the service to which the session belongs. Service names can be obtained using the `ServiceList | sl` command.

> Example A: The following example displays the current settings of the debug log for session 5 of the SLOracle10 data access service:

>     sesdll SLOracle10 5

> Example B: The following example turns on debug messages and turns off error messages in the debug log for session 5 of the SLOracle10 data access service:

>     sesdll SLOracle10 5 debug=on err=off

> NOTE: The SessionDebugLogLevel command is not applicable to SequeLink services on UNIX or z/OS.

> For more information about using the SequeLink Manager Command-Line Tool, refer to the SequeLink Administrator's Guide.