coldbox-logginglisted
Install: claude install-skill ColdBox/skills
# ColdBox Logging Skill
## When to Use This Skill
Load this skill when:
- Configuring LogBox inside a ColdBox application
- Choosing between `config/LogBox.cfc`, inline `logbox` DSL, or a `configFile` pointer
- Setting per-environment log levels (development vs production) in `ColdBox.cfc`
- Injecting loggers into handlers, interceptors, services, or models
- Accessing LogBox from a ColdBox proxy
- Combining LogBox with ColdBox lifecycle events (interceptors, error handling)
> For standalone LogBox concepts (appenders, layouts, custom appenders), load the **logbox** skill.
## Language Mode Reference
| Concept | BoxLang (`.bx`) | CFML (`.cfc`) |
|---------|-----------------|---------------|
| Class declaration | `class [extends="..."] {` | `component [extends="..."] {` |
| DI annotation | `@inject` above property | `property name="x" inject="y";` |
| Handler base | `extends="coldbox.system.EventHandler"` | same |
| Interceptor base | `extends="coldbox.system.Interceptor"` | same |
## How ColdBox Loads LogBox
ColdBox resolves your LogBox configuration in this order:
1. Is there a `logbox` variable in `config/ColdBox.cfc` `configure()`?
- **No** → Does `config/LogBox.cfc` exist? **Yes** → use it by convention. **No** → use ColdBox framework defaults.
- **Yes** → Does it have a `configFile` key? **Yes** → load that CFC. **No** → treat the struct as inline DSL.
Default ColdBox configuration (if you define nothing):
```cfscript
logBox = {
appenders : {
c