b793f33e59
This will prevent internal logs to be added to the task_events_search_table Closes #<issue> ## ✅ Checklist - [x] I have followed every step in the [contributing guide](https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md) - [x] The PR title follows the convention. - [x] I ran and tested the code works --- ## Testing Ran the migration, deleted the old invalid rows and ran new tasks. The undesired logs are not added to the table. --- ## Changelog Updated the MATERIALIZED VIEW to also filter for `trace_id != ''` --------- Co-authored-by: Matt Aitken <matt@mattaitken.com>
57 lines
1.8 KiB
TypeScript
57 lines
1.8 KiB
TypeScript
import { Header3 } from "./primitives/Headers";
|
|
import { Paragraph } from "./primitives/Paragraph";
|
|
import { LogLevel } from "./logs/LogLevel";
|
|
|
|
export function LogLevelTooltipInfo() {
|
|
return (
|
|
<div className="flex max-w-xs flex-col gap-4 p-1 pb-2">
|
|
<div>
|
|
<Header3>Log Levels</Header3>
|
|
<Paragraph variant="small" className="text-text-dimmed">
|
|
Structured logging helps you debug and monitor your tasks.
|
|
</Paragraph>
|
|
</div>
|
|
<div>
|
|
<div className="mb-1">
|
|
<LogLevel level="TRACE" />
|
|
</div>
|
|
<Paragraph variant="small" className="text-text-dimmed">
|
|
Traces and spans representing the execution flow of your tasks.
|
|
</Paragraph>
|
|
</div>
|
|
<div>
|
|
<div className="mb-1">
|
|
<LogLevel level="INFO" />
|
|
</div>
|
|
<Paragraph variant="small" className="text-text-dimmed">
|
|
General informational messages about task execution.
|
|
</Paragraph>
|
|
</div>
|
|
<div>
|
|
<div className="mb-1">
|
|
<LogLevel level="WARN" />
|
|
</div>
|
|
<Paragraph variant="small" className="text-text-dimmed">
|
|
Warning messages indicating potential issues that don't prevent execution.
|
|
</Paragraph>
|
|
</div>
|
|
<div>
|
|
<div className="mb-1">
|
|
<LogLevel level="ERROR" />
|
|
</div>
|
|
<Paragraph variant="small" className="text-text-dimmed">
|
|
Error messages for failures and exceptions during task execution.
|
|
</Paragraph>
|
|
</div>
|
|
<div>
|
|
<div className="mb-1">
|
|
<LogLevel level="DEBUG" />
|
|
</div>
|
|
<Paragraph variant="small" className="text-text-dimmed">
|
|
Detailed diagnostic information for development and debugging.
|
|
</Paragraph>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|