# Browser Console Log

From Servoy 8.4 on, all client side messages from the browser's Console loggers (log (is send as info),error,info,warn,debug) will be send to the server and logged through the logger: org.sablo.BrowserConsole. By default this is not configured in the log4j.xml file so it logs WARN and ERROR messages from the browser. This could be adjusted by adding a logger:

```xml
<Logger name="org.sablo.BrowserConsole" level="INFO" />
```

by making it INFO you will see also Console.log and Console.info

You can also redirect this to a another file, see [Websocket Message logging (for debug purposes)](/guides/deploy/server-configuration/monitoring/websocket-log.md#websocket-log) for another sample how to do that.

Besides the [Console object](https://developer.mozilla.org/en-US/docs/Web/API/Console) of the browser, also the global [Window.onerror](https://developer.mozilla.org/en-US/docs/Web/API/Window/error_event) is catched and logged as error to the browser.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.servoy.com/guides/deploy/server-configuration/monitoring/browser-console-log.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
