Logs
Tracepanel captures your app's log records with no extra setup and attaches each one to the request, task or command that wrote it.
Tracepanel captures the log records your app already writes. You add no handler and change no logging configuration. The SDK attaches each record to the request, task or command that wrote it.
What Tracepanel keeps
Tracepanel keeps the records written while a request, a task or a command runs. Each record belongs to that trace, and to the span it was written in, such as a view, a SQL query or a Kafka send. The record also knows every span around that one, up to the request, so you can find it by any of them. Records written outside a trace, such as at startup, aren't kept.
A trace keeps its first 1000 records. The Request tab shows how many more the app wrote, under Not recorded.
Each record keeps these values:
- the time, the level and the logger name. The level is one of five, the same
in every SDK:
debug,info,warning,errororcritical. - the message, with its arguments filled in, and the message template when it had arguments
- the function, file and line that wrote it
- the thread name and the process id
- the exception with its stack, when the record carries one
- every structured field passed with the record
Tracepanel stores each structured field under extra., such as
extra.order_id. You can search and filter the records by these fields.
Masking
Tracepanel masks a structured field whose name looks secret, such as a
password, a token or a key. It stores ******** in place of the value. For
example, a field named api_key becomes extra.api_key with the value
********. A name is read word by word, the same in every SDK, so
authToken is masked and author isn't. See
Privacy and safety. Tracepanel
doesn't mask the message text itself, so keep secrets out of the message.
In the Python SDK
The Python SDK reads records from the standard logging module. It adds no
handler to any logger, so basicConfig(), Django's LOGGING and a worker
that takes over the root logger all work as before. A logger's level still
applies, so a logger at INFO doesn't pass its DEBUG records to
Tracepanel.
Pass structured fields in extra= as usual:
import logging
logger = logging.getLogger(__name__)
logger.info("Order paid", extra={"order_id": 42, "amount": 990})A library's own level, such as loguru's TRACE or SUCCESS, becomes the
highest of the five that its number reaches: SUCCESS, at 25, is info.
The SDK skips its own records, the SQL echo, the task queues' per-task lines
and server access logs. The ignore_loggers setting skips more loggers. See
Integrations for the details.
In the JavaScript SDK
The JavaScript SDK records each console call made during a request or a
task, and the records of pino, winston and NestJS's Logger, with no change
to your code. A logger's fields, such as a pino child's bindings or winston's
metadata, become extra. fields, and an error's stack becomes the record's
exception. pino's logger name is the record's logger. What a logger prints
through console isn't recorded a second time.
In the Java SDK
The Java SDK keeps the records of Logback and of Log4j 2, in Spring Boot
with spring-boot-starter-log4j2 and in Ktor with log4j-core. Each keeps
its level (FATAL is critical), its logger, the message and its template,
the line that logged it, the exception with its stack, and the MDC as
extra. fields. A record that an async Log4j 2 logger writes isn't in a
trace, because it is written on another thread.
In the Go SDK
The Go SDK reads records from log/slog. It puts itself in front of the
default logger's handler, so your output stays as it was. A record joins the
trace of the context it was logged with, so log with the request's context:
slog.InfoContext(ctx, "order paid", "order_id", 42, "amount", 990)Each attribute is a structured field, such as extra.order_id, and a
secret-looking one is masked. A logger of your own takes
tracepanel.WrapLogHandler in front of its handler. zap and zerolog have
modules of their own, zaptrace and zerologtrace. A record logged without
a context isn't recorded. See Integrations.
Dumps
A dump is what you print to look at while you work on the code, such as
python-devtools' debug(order). In a trace, the SDK records it as a log
record of its own kind, on the span it ran in. Your terminal shows the same
output as before.
from devtools import debug
debug(order, order.items)A dump keeps where it was called and each argument: the expression it was written as, its value as printed, its type and its length.
- The call tree always shows a dump, also with the Logs chip off, as a DUMP
row with its call site and its first argument, such as
order = Order(id=7, …). Its details lay out each argument with its type and length, and its full value, highlighted. Raw shows the text as it was printed. - The Logs page lists dumps with the same look. Its Kind menu picks
Dumps,
has:dump, or Logged,has!=dump. - An AI coding agent gets a trace's dumps with their values, through the MCP
server's
get_traceandsearch_logs. See AI agents.
A value is highlighted in the language it was printed in: Python,
JavaScript or TypeScript, Go, Java, Kotlin or Rust. The dump names its
language in dump.lang. Without it, the value takes its dumper's language,
else that of its call site's file. The highlighting reads each language's
printed values, such as Node's Order { id: 7, items: [Array] }, Go's
main.Order{ID: 7}, Java's Order[id=7], Kotlin's Order(id=7) and Rust's
Some(3). The source around a dump's call site, or an error's frame, in a
.rs file is highlighted as Rust.
A value whose expression or keyword names a secret, such as password,
token or api_key, is masked. So is a value under a secret's name inside
it, such as a dict's or an object's key, or a class's field. Names are read
word by word, split at _, -, ., [, ] and where camelCase turns, and
a secret's word must be whole:
authToken,AUTH_HEADERandx-api-keyare masked.author,tokenizer,max_tokensandpassword_lengtharen't.tokensholding numbers, such as a model's counts, is shown.
A value is cut at 16 KB. A dump made outside a trace, such as at startup, isn't recorded.
Each SDK has its own way to dump:
| SDK | A dump |
|---|---|
| Python | python-devtools' debug(), with no change to your code. A debug.timer() block is a span. TRACEPANEL_DEVTOOLS_ENABLED=0 turns it off. See python-devtools. |
| JavaScript | console.dir(), console.table(), and console.log(), .debug() or .info() of an object, from your own code. TRACEPANEL_DUMPS=0 turns it off. See Dumps. |
| Java, Kotlin | Tracepanel.dump(...), which prints to stderr as debug() does. See Dumps. |
| Go | tracepanel.Dump(ctx, ...), which prints to stderr in every build, and is recorded when Tracepanel is on and ctx carries a trace. See Dump. |
Logs in the panel
The panel's Logs tab lists the records of the selected request in the same table as the Logs page, and a record opens the same way. Logged inside opens the call tree at the span a record was written in. See The panel.
A chain of calls
When a request called other apps, such as a browser's view calling its BFF and the BFF calling a service, the Logs tab lists the records of the whole chain: the request's own and those of every trace down its calls, up to six levels and 60 traces. They are in time order on the request's clock, and each record has its app. A chip per app narrows the list to that app.
Over the list, chips count the records by level and by logger, a small chart shows them over the time, and First error opens the first error. Click a chip to filter the list by it.
To see the records of one part of a request, select its row in the call
tree, such as a span, a group like Book.author ×36 or another app's trace.
Its details start with Under this, which counts the queries, HTTP calls,
records, issues and profiles under the row. Click a count to open its tab on
that part. A chip such as Under Book.author ×36 says so, and its × goes
back to the whole chain. Its menu has Only this span, for the records
written in the span itself, not in a span or a trace under it.
A record is under a span when it was written in that span or in a span under it, or in a trace another app served for a call under it. A record written in no span, such as a browser's console line, counts by its time.
The Logs page
The console's Logs page lists the records of every request, task and job, newest first. Each row takes one line: the time, the level, the message, the logger and the request or task that wrote it. A message cut short shows whole on hover, and an exception's last line follows it in red.

Above the table, the Overview counts the records, errors and warnings, and a chart shows the records over time, a bar per slice with its levels stacked. Click a level in the legend to filter the list by it. Drag across the bars to narrow the search to that time.
The menus next to the search box filter by time, level, logger, route, task,
job and the kind of call a record was written in. The Level menu also offers
WARNING and above and ERROR and above, as level>=warning and
level>=error. The words you search for are marked in the messages.
The arrow keys move from record to record, Enter opens one and Escape closes it. A message's text selects and copies as text. With Live in the refresh menu, the records reload every 2 seconds, and hold while one is open or the list is scrolled down.
A record

Open a record to see its message, its exception and every field. A message that is a JSON object or array opens indented, with Raw beside it. An exception shows as an error's frames: its type and message first, your frames in view and the libraries' folded into "N library frames". This works for Python tracebacks, JVM stack traces and JavaScript stacks. Raw shows the text as it was logged.
The time is local, to the millisecond, with the date and the offset. The
details also name the app, the request with its status, the user, and the
span the record was written in, under Logged inside, with a link to the
call tree there. The Show logs from buttons show the logs from this
request, this logger, this path, this user or this call. A filter button next
to an extra. field shows the records with the same value, and another makes
the field a column of its own. The copy buttons copy the record as JSON, or a
link to it. Open request opens the record's trace on its Logs tab.
Columns
Drag a header's edge to resize a column, double-click it to fit the column to
its values, and drag a header onto another to move its column. The columns
menu shows and hides columns, App, Trace and All attributes among them, and
makes any attribute a column under Attribute columns. It also switches the
time between the date and time, as Oct 21 15:45:20.345, and how long ago, or
in a trace, since the request started. The browser keeps these choices. See
Columns.
Search keys
Free text searches the message. To match a logger, use the logger key. The
page also takes these keys:
| Key | What it matches | Example |
|---|---|---|
level | The level: debug, info, warning, error or critical. Compare with >= and the other operators. | level>=warning |
logger | The logger name, with * wildcards. | logger:blog.* |
trace | The trace id. | trace:<id> |
has | dump for a dump, has!=dump for a record logged. | has:dump |
in | The kind of call or span the record was written inside, at any depth. | in:kafka, in:sql |
span | The name of a span the record was written inside, with * wildcards. | span:shop.views.* |
span_id | The id of the span the record was written in. | span_id:<id> |
template | The message as written, before its values were filled in. | template:"Order {} paid" |
route | The route of the request that wrote the record. | route:/api/orders/* |
path | The path of the request that wrote the record. | path:/api/orders/7 |
user | The user id of the request that wrote the record. | user:42 |
extra.* | A structured field of the record. | extra.order_id:42 |
service | The app that recorded it. | service:shop |
since, until | When the record was written. | since:15m |
Text keys take * wildcards, != and a comma for any of several values.
Combine keys with spaces:
level>=warning logger:blog.*
level:error route:/api/* since:1h
extra.order_id:42
logger!=blog.audit user:42
in:kafka level>=warning
has:dump route:/checkout
payment failed since:2026-10-07T13:30From a trace, Explore opens the logs of every request, task and job from 30 seconds before the trace to 30 seconds after it. See The console for the rest of the search syntax.