<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: slimeopus</title>
    <description>The latest articles on DEV Community by slimeopus (@slimeopus).</description>
    <link>https://dev.to/slimeopus</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3840421%2Fa8c3313a-f17b-4138-9410-7f1412f0325f.png</url>
      <title>DEV Community: slimeopus</title>
      <link>https://dev.to/slimeopus</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/slimeopus"/>
    <language>en</language>
    <item>
      <title>I created an interactive TUI log debugger in Python because grep and tail are driving me crazy.</title>
      <dc:creator>slimeopus</dc:creator>
      <pubDate>Mon, 09 Nov 2026 17:59:46 +0000</pubDate>
      <link>https://dev.to/slimeopus/i-created-an-interactive-tui-log-debugger-in-python-because-grep-and-tail-are-driving-me-crazy-4cn5</link>
      <guid>https://dev.to/slimeopus/i-created-an-interactive-tui-log-debugger-in-python-because-grep-and-tail-are-driving-me-crazy-4cn5</guid>
      <description>&lt;p&gt;Every time something goes wrong in production, the ritual is the same: you connect to the server, open the logs, and stumble upon a huge wall of text. You strain your eyes, trying to spot the single line with the ERROR hidden among the megabytes of INFORMATION and DEBUG DATA. &lt;br&gt;
Of course, we have grep, tail -f. But when a giant multi‑line trace appears in the console, reading it in a standard terminal is a nightmare. &lt;br&gt;
I got tired of this, so I created TraceTUI — a beautiful interactive debugger for logs in the terminal.&lt;/p&gt;
&lt;h2&gt;
  
  
  🪵 Pain
&lt;/h2&gt;

&lt;p&gt;Logs are usually generated either by the standard logging library or by the modern loguru. When working with multiple services or workers, you have to either open a dozen tabs in the terminal or write convoluted bash scripts.&lt;br&gt;
To make matters worse, to switch between periodically occurring errors and view deep traces, you have to scroll the terminal window up and down endlessly.&lt;/p&gt;
&lt;h2&gt;
  
  
  🛠️ What can TraceTUI do?
&lt;/h2&gt;

&lt;p&gt;I created an interface based on the Textual framework and divided it into three logical panels:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The left panel (sources): a list of active log files. You can view several logs simultaneously and switch between them using the arrow keys.&lt;/li&gt;
&lt;li&gt;The central panel (log stream): the main log strip with automatic color coding for severity levels. Errors are highlighted in bright red, so they’re immediately visible.&lt;/li&gt;
&lt;li&gt;Right panel (details): displays the full trace, metadata, and custom tags. No more hassle with text wrapping.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  🚀 Killer features
&lt;/h2&gt;

&lt;p&gt;• Format autodetection: recognizes loguru, standard logging, or plain text out of the box.&lt;br&gt;
• Smart error navigation: press E (next error), and the interface will instantly skip thousands of irrelevant informational lines to take you straight to the next warning or exception.&lt;br&gt;
• Real‑time filtering: press F to open the filtering mode. Enter a search query, and the log stream will be dynamically updated on the fly.&lt;br&gt;
• Timeline merging mode: press m to merge several log files into a single chronological timeline with source tags.&lt;/p&gt;

&lt;p&gt;📦 Give it a spin!&lt;/p&gt;

&lt;p&gt;The project is completely open-source under the MIT license. You can install it with a single command via pip:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;tracetui
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To run it, simply pass your log files as arguments:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;tracetui app_loguru.log server.log
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  💬 Conclusion
&lt;/h2&gt;

&lt;p&gt;I hope this small utility will save you from headaches during your next debugging session.&lt;br&gt;
The project is still young, so I’d be glad to hear your thoughts! What’s missing? What can be improved? Leave a comment below or create an issue on GitHub.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/slimeopus/TraceTUI" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>productivity</category>
      <category>showdev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
