The Logger app
Two things are easy to conflate, so separate them first. The logging engine — threading one correlation id through the save, capturing the trace and budget at save-order boundaries, delivering entries rollback-safely, holding every org to a retention policy — is always-on kernel behavior. It runs whether or not anyone ever looks at a log. The Logger app is a way to browse what that engine stored: Logs and Log Entries as list views and record pages, Scenarios and Tags as their own tabs, and the correlation pivot from any Log into the three audit streams.
The app is not part of the engine. It is specified as a standard installable package — an app definition, its tabs, list views, and record pages, all delivered as metadata over the log objects, exactly the way the Sales app or any other app is delivered. The kernel does not compile it in and does not special-case it. The engine captures and stores; the app is one package-delivered lens on what was stored.
The consequence that holds whichever way the app is eventually built, and the reason the separation is worth keeping: remove the package and the engine keeps logging. The records are still there and still readable — through the logs route today, and through the query surface if the log objects land — so what you removed is one browsing surface and not the logging.
This page explains what the app package contains, why logs get an app rather than the setup capability, and why the package is almost entirely metadata.
An app package, not the setup capability
Section titled “An app package, not the setup capability”Logs could have been surfaced through the setup capability — the platform-administration surface where an admin configures objects, permissions, and page layouts. They are deliberately not. The line is a clean one:
- Setup configures the platform. Its audience is an administrator changing how the system behaves — defining fields, editing field-level security, wiring permission sets. Setup screens are editors. Setup is itself a capability a package masters, not an engine built-in.
- The Logger app browses operational data. Its audience is a developer or support engineer reading what happened in a transaction that already ran. Nothing here is configured; records are opened, filtered, and pivoted through. That is an app, not an editor.
Routing logs through the setup capability would force every platform developer into the administration surface to answer an everyday operational question (“what did this save do?”). A dedicated app lets them browse the log objects and records directly, the same way the Sales app lets a salesperson browse accounts and opportunities. The two audiences and the two verbs — configure vs browse — are different, so the surfaces are delivered as different packages.
(The retention policy — default windows by level and scenario, the purge schedule — is configuration, and it lives with the setup capability and configuration data, consistent with the line above. And the retention policy is the engine’s, seeded for every org at provision and backed by a database guarantee that an audit row cannot be hard-deleted. The Logger app browses logs; setup configures how long they live; the engine is specified to be what purges them — though no purge sweep runs yet, so nothing ages a log out today.)
Why the app package would be nearly free, and why it is not yet
Section titled “Why the app package would be nearly free, and why it is not yet”The Logger package would not be a program. It would be an app definition — a name, a set of tabs, and their default list views and record pages — over objects owned by the kernel, with everything that is normally “build the log UI” inherited from the object model:
| The app needs | Where it comes from | Logging-specific code |
|---|---|---|
| A tab listing Logs, with filters | List views on the Log object | none |
| A Log detail screen | The Log record page | none — layout only |
| Column/row narrowing per reader | FLS + record access at read | none |
| Reports on error rate, budget trends | The report builder over Log fields | none |
| Ad-hoc queries and export | The query surface | none |
| Scenarios / Tags management | Tabs over those objects | none |
If a Log were two ordinary objects owned by the kernel, an app over them would be assembled from the same primitives as any app on the platform, and the only genuinely logging-specific piece of the surface would be the correlation pivot — a record-page action that jumps from a Log to the execution trace, data history, and metadata audit sharing its correlationId — and even that reuses the audit surface’s existing cross-stream navigation rather than inventing one.
That would be the concrete payoff of building logging into the engine’s object model. Nebula Logger must ship a “Logger Console” Lightning app, custom list views, a “Related Log Entries” component, and quick actions inside a managed package, because its Log__c is an app object that arrives with no UI. The Logger package here would be a manifest and not a codebase — the engine owning the log objects, the capture and the delivery, and the package owning only the presentation.
It is worth being exact about which half of that is already true, because the engine’s half is the harder half and most of it is done. The engine does own the capture, the correlation, the rollback-safe delivery and the retention policy — the sweep that acts on that policy is the one piece of it still unbuilt — and it owns the developer API as well — log.info(...) and its siblings are a capability an authored body calls, with no saveLog() and nothing to flush. What it does not own is a log object, and that is the single thing this page’s “nearly free” claim rests on.
What the app contains
Section titled “What the app contains”| Tab | Over | Purpose |
|---|---|---|
| Logs | the Log object | Browse transactions — saved views like my ERROR logs today and rolled-back saves in invoice-recalc this week; open one to its record page |
| Log Entries | the Log Entry object | Cross-transaction entry search — “every entry tagged pricing at WARN or above this week” — independent of which Log they belong to |
| Scenarios | the scenario config | See the units of work that are named, their per-scenario level threshold and retention override |
| Tags | the tag vocabulary | The typed, deploy-managed tag vocabulary and the rules that auto-apply them |
The Log record page
Section titled “The Log record page”Opening a Log shows what the engine already captured, laid out for reading:
- Entries in execution order — the Log Entries for the transaction, ordered by the save phase they were raised in, each showing its
level,message,participantKey, andbudgetAtEntry. - The budget snapshot and phase runs — the governor’s tally (fuel, DML, rows, outward calls) and the phase-run counter, copied from the save result, so “this transaction spent 84/150 DML across SHAPE→COMMIT in a single pass” is visible without instrumentation.
- The correlation pivot — a one-click jump to the execution trace, the data history, and the metadata audit for the same
correlationId, and back from an error to its Log. This is the “walk one failure end to end” promise made navigable.
At the terminal
Section titled “At the terminal”The same read is available as a thin CLI view — caos logs --correlation-id <correlationId> — which is not a separate log store. The app and the CLI show the same records, and the part of that which matters is still true: the CLI does not depend on the Logger package being installed. What they share today is the logs noun rather than the query surface, because the log objects are not in the describe layer; once they are, this becomes a plain query and nothing about the sentence changes except the door.
Who sees it
Section titled “Who sees it”Once the package is installed, the Logger app is not universally visible. It appears for users who hold the diagnostics capabilities — diagnostics.view to open logs, diagnostics.decode to read sensitive failure detail, diagnostics.trace to raise verbose capture — the same grants that gate the execution trace. There is no separate “Logger app” permission surface: holding the diagnostics grants both admits a user to the objects and surfaces the app that browses them. A user without those capabilities does not see the app, and would see no rows if they navigated to it, because read access is enforced at the query surface — by the engine, not by hiding the app.
Why this beats a bolt-on console
Section titled “Why this beats a bolt-on console”The advantage is the same one the whole observability design rests on, applied to the surface:
- It inherits the platform, so it stays consistent. The Logger app uses the same list-view, record-page, report, and query machinery as every other app, so it looks and behaves like the rest of the platform and improves automatically when those primitives do. A bespoke console drifts from the platform and must be maintained against it.
- Access is correct by construction. FLS and sharing narrow what the app shows because the engine narrows the underlying reads — not because the app re-implements a permission model. Nebula’s console must respect an access model layered on top of its objects; this app cannot show a row the reader could not query.
- It is metadata over an engine-owned model, not a codebase. The package ships an app definition, not logging code. The capture, correlation, delivery, and retention it depends on already live in the kernel and run whether the package is present or not — so the package is small, versionable, and removable without touching the logging that keeps happening underneath. See how packages deliver UI and the developer surface for where this app definition sits among the metadata you author.
Sources
Section titled “Sources”- Nebula Logger — project README (jongpie/NebulaLogger) — the Logger Console Lightning app, Related Log Entries component, and list views shipped inside the managed package because
Log__cis an app object with no inherited UI.