# LogBox in a ColdBox Application

Every ColdBox application can use LogBox by default since the main engine already uses it. By default ANY ColdBox application will be configured with a LogBox instance with the following appenders:

```javascript
component{

    function configure(){
        logBox = {};

        // Define Appenders
        logBox.appenders = {
            console = { class="coldbox.system.logging.appenders.DummyAppender" }
        };

        // Root Logger
        logBox.root = {
            levelmax="OFF",
            levelMin="OFF",
            appenders="*"
        };
    }

}
```

Also, the app will log on **ANY** severity by default up to `INFO` for the root logger and the ColdBox package. You can customize this default behavior by creating or modifying the `LogBox` element in your ColdBox configuration file and follow the same configuration approach as any normal LogBox configuration file.


---

# 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://logbox.ortusbooks.com/usage/logbox-in-a-coldbox-application.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.
