Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Settings

Tools > Settings… (Ctrl+,) opens the Settings window. It is also in the notification-area menu (Settings…), in the taskbar Jump List (Settings) and on the command line (tktail settings). Every way opens the same window; when it is already open, it comes to the front.

  • The categories are on the left. Search settings above them finds an option on any page - type tray, retention, MCP, font - and lists every match with its page.
  • Changes are kept in the window until you choose OK (apply and close) or Apply (apply and keep the window open). Cancel discards what you changed since the last Apply.
  • A value that is not accepted - a number out of its range, text where a number belongs - is marked in red under it, and OK / Apply say what to correct; nothing is saved until it is right.
  • Most changes work at once. Options marked Applies when TKTail starts again take effect at the next start; after Apply the window lists which ones. Options under New views apply to the files and views you open afterwards - View menu toggles change the tab in front.
  • Restore Defaults… resets the values of the page you are on (after a confirmation); nothing is saved until OK or Apply, and Windows entries (autostart, Explorer) are not changed by it.
  • Help (or F1) opens this page.

Settings are saved in settings.ini in TKTail’s data folder. The Startup and Windows Integration pages show and change Windows itself (your user’s startup entry, Explorer menu, shortcuts) - they are not stored in settings.ini.

With linked windows open, Settings opens in the main window and its changes reach every window. In safe mode (--safe-mode) changes apply to that session only and are not saved.

General

OptionWhat it changesDefault
Reuse the running TKTail for files opened from Explorer or the command lineOff: every start opens a separate TKTail. Next start.On
Restore the window size and position at startNext start.On
Reopen the workspace at startThe tabs, splits and positions of the main window come back (When TKTail starts again).On
Closing the windowAsk every time / minimize to the notification area / exit TKTail (Closing the window).Ask every time
Exiting while linked windows are openAsk / close them / leave them running (Linked windows).Ask every time
Always show the TKTail icon in the notification areaOtherwise the icon shows while TKTail is hidden there, monitors files in the background or has unread alerts.On
Minimizing hides TKTail in the notification areaOff
ThemeFollow Windows / Light / Dark (also View > Theme).Follow Windows
Viewer fontAny installed font; empty: Cascadia Mono, then Consolas.empty
Font size6-48 pt (also Ctrl+Plus / Ctrl+Minus / Ctrl+0).10 pt
Line spacing0.8-3.0 times the font’s own spacing.1.0
Show the license owner’s name next to the editionThe license badge and the status bar.On

Startup

Whether and how TKTail starts when you sign in to Windows - read from Windows each time the page opens, see Windows integration.

OptionWhat it changesDefault
Start TKTail when I sign in to WindowsAdds (or removes) TKTail in your user’s startup programs. No administrator rights.Off
StartWith the window shown / minimized / hidden in the notification area.Hidden in the notification area
RepairShown when the entry starts another TKTail.exe (a moved portable copy): points it to this one.

Viewer

OptionWhat it changesDefault
Show line numbersNew views (View > Line Numbers changes the tab in front).On
Show the observation time of each lineNew views.Off
Wrap long linesNew views (Alt+Z changes the tab in front).Off
Follow the end of the file (LIVE) when a file opensNew views; off: a file opens paused at the top.On
Encoding of new filesDetect automatically, or one encoding; View > Encoding changes one file.Detect automatically
Tab width1-16 columns, files opened afterwards.4
Highlight the line with the caretOn
Count the lines that arrive while a view is pausedThe PAUSED badge says +n.On
LIVE shows new data at most10-60 frames per second; lower uses less CPU while files grow fast. New views.60
Encoding / line endings of exported filesWhat File > Export proposes.UTF-8 / as in the source

Monitoring

OptionWhat it changesDefault
Check files every (window shown)A safety net: Windows notifications report changes at once. 50 ms - 60 s.250 ms
Check files every (hidden in the notification area)100 ms - 10 min.2 s
When a log is rotatedFollow the file name (tail -F) or the original file (tail -f) - files opened afterwards; a tab can change it in the Inspector.Follow the file name
Rotated files remembered per log1-50. Next start.5
Follow dated file rotation automaticallyapp_2026-10-14.log, then app_2026-10-15.log: the new file becomes LIVE in the same place. A file can turn it on or off for itself (Inspector) - Rotating dated log files.On
Previous files of the series kept open0-50: the files before the LIVE one stay open next to it; 0 closes each one when the next becomes LIVE. Trial / Pro - in Free the previous file closes (following works in every edition).2
Build the full line index automatically for files up toLarger files are indexed on request (View > Build Full Line Index); 0: only on request. New files.16,384 MB

Files on network shares have their own refresh mode, per file, in the Inspector (Files on network shares). The page also says how many files are monitored in the background (Monitoring files in the background).

OptionWhat it changesDefault
Match case / Regular expression / Wrap aroundThe find bar’s options in new views (Search).Off / Off / On
Search terms remembered0-200.30
Search Results sessions kept across restarts1-50 (their queries; results are searched again on request). Next start.10
Include subfoldersFolder searches from the toolbar and the Explorer.On
Threads for folder searches0-16; 0 = automatic. Next start.0

Formats

TKTail recognizes a log’s format from its content; View As, a folder’s .tktail file and your custom formats decide otherwise, per file or folder - there is no global format or delimiter setting (Record formats).

  • Custom Format Studio… closes Settings and opens the Studio.
  • Custom formats folder - where your format profiles are (Open, Copy).
  • Favorite Formats… - the formats listed first in View As.

Alerts & Incidents

OptionWhat it changesDefault
Keep a history of alerts on diskalerts.jsonl in the data folder. Next start.On
Text kept with each alertThe matching line (bounded) / only the matched text / no text.The matching line
Alerts kept / kept for at most100-1,000,000 alerts, 1-3650 days. Next start.10,000 / 90 days
Recent alerts kept in memoryFor the Alerts view, 1-10,000. Next start.100
Show the matching text in Windows notificationsOff: the notification names the alert only.On
Incidents kept / kept for at most / Evidence kept on disk up to10-100,000 incidents, 1-3650 days, 16-65,536 MB. Pinned incidents and incidents still capturing are always kept. Next start.1,000 / 90 days / 512 MB

Manage Alerts… opens the list of your alerts (Alerts and monitoring); the alert definitions and incidents folders have Open and Copy.

Metrics

OptionWhat it changesDefault
Counter namesIn the language of Windows / in English / both - display only.In the language of Windows
Sample the METRICS panel’s counters every1, 2, 5, 10 or 30 seconds. Needs Metrics in the license.1 second
Keep metric history in memory for5, 15, 30 or 60 minutes. Needs Metrics in the license.15 minutes

See Metrics. Without the capability the page says which licenses include it.

AI Access (MCP)

The permissions of AI clients (see AI integration). The page says whether AI access is on, what your license includes and whether TKTail is listening for HTTP clients.

OptionWhat it changesDefault
Allow AI access (MCP)AI clients you connect may read the sources open in the main window, search them, and read alerts, incidents and metrics. They change nothing unless a permission below allows it. Same as Tools > Allow AI Access (MCP).Off
Allow AI to save custom formatsSave format profiles - only into your custom formats, never over a built-in one.Off
Allow AI to save searches and Metric SetsCreate, change and delete your Saved Searches and your Metric Sets (never the built-in sets).Off
Allow AI to manage alertsCreate, change, enable, disable and delete alerts - only on sources AI clients may read.Off
Investigation Roots…Folders you approve for AI clients beyond what is open in TKTail (Extended Investigation); Trial, Pro and Developer licenses.none

The three “may change” permissions need AI access too; each works on its own (allowing alerts does not allow searches). See What AI clients may change.

How AI clients see this TKTail - every answer names this TKTail by its Node ID and the run that answered (Which TKTail answered); what else it says is your choice, applied to the next answer:

OptionWhat it changesDefault
Display nameYour name for this TKTail in every answer, for example Order Server (at most 64 characters). A label, not a unique key.empty
Include the computer nameAnswers name this computer as Windows has it configured.Off
Include the Windows user nameAnswers name the Windows user TKTail runs as.Off
Include the user’s domainAnswers name that user’s domain (or this computer, for a local account).Off
Node IDRead only: this data folder’s random ID - the same after a restart; another data folder or a portable copy has its own. Copy Node ID copies it.

Connect an AI client: stdio - every edition: the Command an AI client starts ("...\TKTail.exe" mcp --stdio) with Copy Command and Copy Client Configuration (a JSON mcpServers entry).

Connect an AI client: HTTP - Trial, Pro and Developer licenses (HTTP):

OptionWhat it changesDefault
Accept AI clients over HTTPThe main window listens for MCP clients at the Address shown. Every request needs the token. Applies at once.Off
Listen onThis computer only (127.0.0.1 and ::1) or Every network interface - TKTail asks you to confirm; plain HTTP, so only a trusted network, a VPN or a tunnel.This computer only
Port1024-65535. A port another program uses is reported in the status line; TKTail never picks another one.47711

Copy HTTP Client Configuration copies an mcpServers entry with the address and the token; Copy Token copies the token alone (the page never shows it); Regenerate Token… makes a new one after a confirmation - clients with the old token are refused from their next request. Turning AI access off while a client is connected refuses its next question at once; turning HTTP off ends its connection. AI Access Help opens the AI guide.

Windows Integration

Explorer’s right-click menu, shortcuts, the taskbar Jump List, and Repair / Remove All… - see Windows integration. The page reads what Windows has when it opens; changes are made on OK / Apply. The Jump List options are stored in settings.ini.

Files & Storage

Where TKTail keeps each kind of data - the data folder, settings, workspace, recent files, alert definitions, alert history, incidents, custom formats, Saved Searches, Metric Sets, the application log, the license file in use and the temporary evidence copies - each with Open and Copy. Change Data Folder… and Use the Default Data Folder choose where the data lives from the next start. See Where TKTail stores data.

Privacy & Cleanup

OptionWhat it changesDefault
Remember recently opened files / used foldersFile > Recent Files / Folders, the Explorer, the Jump List.On
Remember search terms and Search Results sessionsOn
Recent files / folders kept1-500. Next start.50 / 30
Clear Recent Files / Clear Recent Folders / Clear Search HistoryAt once, after a confirmation.
Remove evidence copiesWhen TKTail starts / a day or a week after they were made (when TKTail starts) / only with Clean Now. Next start.A day after
Clean NowRemoves TKTail’s temporary files that nothing uses now, after listing what it touches.

See Privacy and cleanup.

Logging

The application log (also live in View > Tool Views > Output).

OptionWhat it changesDefault
Write to the log fromTrace / Debug / Information / Warning / Error. Next start.Information
Keep file paths in the logOff: paths are left out of the log file (privacy). Next start.Off
Size of one log file / Log files kept / kept for at most64-65,536 KB, 1-50 files, 1-365 days. Next start.1,024 KB / 5 / 14 days

Terminal

OptionWhat it changesDefault
Shell of a new terminalAutomatic (PowerShell 7, Windows PowerShell, Command Prompt) or one of them.Automatic
Lines kept for scrolling back1,000-100,000 per terminal, in memory only. New terminals.10,000

More shells can be added as terminal.custom.N entries in settings.ini (see the Terminal section of the Bottom panel).

The settings file and keys (advanced)

settings.ini is UTF-8 text, written atomically (a crash never leaves half a file) and merged with what other TKTail windows saved meanwhile. A line TKTail cannot read is ignored and listed in View > Tool Views > Problems (Open Settings File shows it). The keys the window edits have public names - tktail settings list prints them with their values and when they take effect, tktail settings get <key> one (Command line). Changing settings from the command line is planned; use the Settings window.