Logging
Nubo server request logging is shown in development mode.
nubo serve app --devRequest Log Format
Section titled “Request Log Format”Request logs include:
| Part | Description |
|---|---|
| Method | HTTP method. |
| Path | Request path. |
| Cache status | Shows [cached] when cached parsed nodes were used. |
| Duration | Request duration. |
Example shape:
GET /users/123 ............ [cached] 2.1msMethod Colors
Section titled “Method Colors”Nubo colors methods differently in terminal output.
| Method | Color Meaning |
|---|---|
GET | Green |
POST | Blue |
PUT | Cyan |
PATCH | Yellow |
DELETE | Red |
| Other methods | Magenta |
Production Mode
Section titled “Production Mode”Request logs from this development logger are shown only when NUBO_DEV is enabled.
Use:
nubo serve app --devDisable Color
Section titled “Disable Color”Use the global CLI flag to disable colorized output.
nubo serve app --nocolor