Console settings

On this page

Settings

The Settings page shows the values Lens is running with and lets an admin change many of them without a restart. Reading every value and read-only mode are free. Changing settings in the console and the viewer role need BoxLang+.

The Settings page

The version of BxLens is in the badge next to the title (and in the header on every page). Hover over it for the full version with the build number, which is the one to give when you report a problem.

Find a setting

The page opens on the Overview: a card for each area, grouped under four headings, with the state of the area in one line (for example "Level full, 32 of 32 collectors") and how many of its settings you changed. Open a card, or an area in the list on the left, to see its settings. On a phone the list is the page: tap an area for a full screen and use Settings at the top to go back.

HeadingAreaWhat it holds
The lens barLens barShow the bar, theme, height, hotkey, limits of what it shows, editor links, who sees it
The lens barCollectionThe collect level, hidden tabs, request history, the page collectors and the options of Mail, ColdBox, queries, HTTP and the AI recorder
WatchingThresholds and checksSlow request, query and template limits, N+1, security header notes
WatchingFleet limitsWhen a server is degraded, critical, silent or gone
WatchingSchedulersHow long task runs are kept (200 per task, 50,000 in all, 15 days), how often ColdBox tasks are looked at, and when a task needs attention
AlertingNotificationsEmail, recipients, channels, the 21 alert rules, reports and mail previews
AlertingAssistantLensy, the model, its limits, what leaves the server and MCP servers
SystemStorageThe disk store, its limits and the servers in its folder
SystemSecurity and accessAdmin and viewer password, secrets, who can reach the console, proxies
SystemConsole serverSettings that stay in boxlang.json

The search box at the top finds a setting by its name, its hint or its key across every area, and shows the control right in the result, so you can change it there. Essentials hides the advanced rows (display limits, the hotkey, the model tuning and the collector options); All shows everything, and a search always looks at everything. Keys shows the boxlang.json key under each label. A dot next to a label means the value was changed in the console, and the arrow beside it goes back to the boxlang.json value.

The Settings page on a phone

Notifications, Assistant, Storage and Security

These four areas keep their own forms and are drawn with the same rows and cards as the rest of the hub, and fit a phone.

  • Notifications. Six tabs: Email, Recipients, Channels, Alert rules, Reports and Mail previews. See Notifications.

Settings, Recipients

Settings, a new channel on a phone

Settings, Alert rules

  • Assistant. A status card with the switches for the assistant, its actions and the documentation search, the model, its limits and the API key, a notice of what leaves the server, a guide to run your own model and the MCP servers Lensy can ask. See AI.

Settings, Assistant

  • Storage. The disk used against the size limit, where the store is, the limits that trim it, the secrets folder and the servers that share the folder. See Storage.

Settings, Storage

Change a setting

A switch, a choice, a number (with its unit) or a field sits next to each live setting. Degraded and critical limits share one row with a bar that shows the zones. The collectors are switches you can press, in three groups, with All on and All off. A lock means the value stays in boxlang.json.

A saved change with Undo

A change is saved as you make it. A switch, a choice or a collector pill saves when you press it. A number or a field saves when you press Enter or leave the field, never on each key. A note, for example "Saved Slow request", stays for six seconds with Undo, which puts the old value back (or removes the saved change when the value came from boxlang.json). There is no Apply bar.

The change applies at once. For example, turning a collector off removes it for the next request, and a new slow query threshold counts from now on. Lens also saves the change to config/bxlens-settings.json in the BoxLang home, or to the file in console.overridesFile, so it survives a restart.

Some things stay explicit because they are actions or depend on each other: the password forms, adding a person, a channel or an MCP server, the mail server settings, and the model card of the Assistant (provider, model, address, embedding model and the key variable), which has one Save the model button so a half typed address never reaches a chat.

A value that is not valid, for example a number out of range or a degraded limit at or above its critical limit, is refused with a message on its row, the field goes back to the old value and nothing is saved. Lens checks every value again when it loads the file, so a file edited by hand cannot switch on something the console may not change. Invalid entries are skipped and a warning is logged.

Saved changes win over boxlang.json

A setting that has a saved change is marked changed. Its tooltip shows the value from boxlang.json. Reset next to it removes the saved change and goes back to the boxlang.json value. Reset all to defaults removes every saved change. The page shows how many settings are overridden and where the file is.

The file holds your changes as dotted keys, for example { "overrides": { "thresholds.slowQueryMs": 50 } }, and the MCP servers of Lensy. It holds no secrets: passwords and keys are not settings, so they are never written to it.

If you change a value in boxlang.json that also has a saved change, the saved change keeps winning until you reset it.

Which settings are live

The settings marked boxlang.json only are shown with their value but cannot be changed from the console. That list includes the passwords (shown only as set or not set), who can reach the console and the bar, console.readOnly, console.allowHeapDump, console.requireHttps, the proxy settings, secrets.dir, every store.* setting (the folder, the switch and the limits, see the Storage tab below), ai.apiKey, ai.links and history.maxRequests. The rest of the AI settings are live. Everything else on the page is live. The full list is in Configuration.

Security (passwords and secrets)

Admins get the Security and access area. A viewer does not see it, and every security/* route answers a viewer with 403.

Settings, Security

  • Admin password. Fields for the current password, the new password and its confirmation, a Change password button and Reset to boxlang.json. A pill says where the password comes from now: set in console or set in boxlang.json. The current password is checked first (a wrong one is counted like a wrong sign in, and too many lock the address out), then the new one is stored as a salted slow hash. The other admin sessions are signed out, this one stays. Reset removes the console's password so boxlang.json is in charge again.
  • Viewer password (BoxLang+). Set a viewer password, remove the viewer login or reset it to boxlang.json. Removing the login works even when boxlang.json holds a viewer password: the console then keeps a "switched off" marker, and Reset brings the boxlang.json password back. On Free the fields are disabled with a BoxLang+ note and the server answers 403.
  • Secrets. The entries of the Secret Store by namespace and name: the Inference API key and the SMTP password (always listed, with where each comes from: set in console, set in boxlang.json or env NAME) and the two password hashes. The key and the password have Set or Replace and Remove: write only, the value goes in and never comes out. The page ends with a health line: whether the key is present, whether this server can open the secrets, and how many there are.

The same actions are the routes GET security/passwords, GET security/secrets, POST security/password (role, current, password), POST security/password/reset (role) and POST security/password/remove (viewer), POST security/secret (id ai.apiKey or smtp.password, value) and POST security/secret/remove (id). Setting the AI key or the SMTP password needs BoxLang+ (the AI and Notifications features); removing one stays open. Each is audited as secret.change with the name, never the value. The answers say per role whether a password is set and where it comes from (console, boxlang.json or none), never a value or a hash.

A password set in the console wins over boxlang.json. The rules (10 to 256 characters, different from the current one, admin and viewer differ), the session handling, the audit lines and the way back in when a password is lost are in Where the console passwords come from. They are not settings, so they never appear in the saved overrides file. console.readOnly refuses them and shows a note.

The Storage area

Admins see the saved-data store in the Storage area: whether saving is on, the folder of this server, the store folder, the disk used, records written, dropped and failed, the last error, and the servers that share the folder. A warning shows when the folder is on a container's own file system, when another live server uses the same folder name, and when saving needs BoxLang+. Keep days (1 to 30), the size limit and the removal of stopped servers are shown there but read only. They are set in boxlang.json under store, because they delete data of other servers; a change needs a restart. A Secrets card shows where the Secret Store is, whether its key is present and whether this server can open the values (never a value). See the store.

View only

Two things make the page read only.

  • Viewer role. A viewer who signed in with console.viewerPassword sees a notice, and every field is disabled. See Roles.
  • console.readOnly. When it is true, nobody can change anything from the console, not even an admin. The same switch stops password and secret changes, notification and channel settings, the Mail queue, application and watcher actions, task actions, the bar layout, cache actions, resets and Run GC (several of them also need BoxLang+). It can only be set in boxlang.json. Heap dumps (BoxLang+) have their own switch, and the connection test of a datasource, the AI calls and the chat with Lensy are not stopped.

Every change and reset is written to the audit log with the keys and the new values.

The license

The header of every console page shows the license state (BoxLang+ active, Trial, License expired or Free), and your role. See Licensing for what Free includes and what needs BoxLang+.

Edit this page Download Markdown Last updated Nov 26, 2026, 8:34:30 AM Report an issue