---
title: Logging SQL Queries
slug: kronpam-reference-guide-3-5-0/logging-sql-queries
description: Learn how to conveniently check SQL Proxy Command Logs with step-by-step instructions. Find out how to navigate to the Logging section and access the Command Logs tab. Easily search for specific information by inputting desired parameters and clicking the
docTags: 
createdAt: 2022-08-01T16:20:31.000Z
---

To check SQL Proxy Command Logs:

1. Navigate to **Logging** > **Session Log**.
2. Open th&#x65;**&#x20;Command Logs** tab.
3. Enter the information into the search filter and click **Search**.

In the command result, you can observe the result of commands. If the command has a black key in it, it should be given **Not Executed**.

&#x20;In the detail column, you can read the information about whether the query returns masked data or not

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Bt4IdpTf9ehIxZfRnPaFy_image.png "SQL Proxy Logs")

:::hint{type="info"}
**sql.proxy.metadata.sync.period**: This parameter determines the interval (in milliseconds) at which metadata is fetched or synchronized from the database. The default is 30000 (30 seconds). Adjust it based on the frequency of metadata changes and performance needs.&#x20;

Application properties should be edited in **/pam/sql/config/application.properties&#x20;**&#x6F;n a Linux device with PAM. Then restart the \`pam-sql\` service.
:::

