---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/api-reference

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Use logpoints

# Set or remove logpoints {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Set breakpoints or conditional logpoints to log messages to the console at specific
lines, and remove logpoints when you are done debugging them.

## Vorbereitungen

* Set the glide.debug.log_point system property to <kbd class="ph userinput">true</kbd>. See [Available system properties](https://www.servicenow.com/docs/access?context=r_AvailableSystemProperties&version=australia&pubname=australia-platform-administration&ft:locale=en-US) for more information.
* Role required: admin or script_debugger
{#set-remove-logpts__ul_knl_2xk_v3b}

## Warum und wann dieser Vorgang ausgeführt wird

Logpoints belong to the developer who sets them. Developers must set and remove their own logpoints.  
Hinweis:  
At a specific line, you can set either a logpoint or breakpoint but not both.

## Prozedur

1. Navigate to the server script to debug.  
   For example, navigate to AllSystem DefinitionBusiness Rules.
2. From the Syntax Editor, click the gutter next to a script line.

   | Action | Description |
   | Set a logpoint | Right-click a blank line and click Add logpoint to set a logpoint. |
   | Remove a logpoint | Right-click a logpoint and select Remove logpoint to remove it. |
   | Edit a logpoint | Right-click a logpoint and select Edit logpoint to edit it. |
   |-|-|

   {#set-remove-logpts__choicetable_grl_gly_ww}  
   Hinweis:  
   The script entered for the logpoint must have the same format as that of the script in GSLog and GSInfo script includes.
3. From the Syntax Editor toolbar, click the Open Script Debugger icon ![Script debugger icon]().
4. On the Script Debugger window, trigger the script.  
   For example, create a record to trigger an insert business rule script.  
   Hinweis:  
   You can also add logpoints in the Script Debugger window.
5. In the Script Debugger window, click Session Log to view the logpoints.
6. When debugging is complete, remove logpoints from the script.
{#set-remove-logpts__steps_q5m_mmy_ww}

