# Need For Logging

Most applications require logging and tracing capabilities. One can usually use ColdFusion's standard `cflog` or `cftrace` tags but you can reach a limitation very fast.

* What if you needed to log only certain severity levels for a particular CFC or piece of code?&#x20;
* What if you needed that severity to advise you via SMS or Twitter (yes Twitter)?&#x20;
* What if you wanted to turn it off easily or reconfigure your logging levels?

You would have to build all of these advising and logging capabilities yourself. Also, inserting log statements is tedious, time consuming and frequently pollutes your real code. You can understand the pain and complexity required to properly deal with these situations. These reasons (and more) are why the ColdBox team has invested in building LogBox.


---

# 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/getting-started/need-for-logging.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.
