Skip to main content

Configuration

SimpleLogs settings live under the simpleLogs namespace in VS Code. You can edit them through the Settings UI or directly in settings.json.

Accessing Settings

  1. Open the command palette (Ctrl+Shift+P / Cmd+Shift+P) and run Preferences: Open Settings (UI) or Preferences: Open Settings (JSON).
  2. Search for “Simple Logs” or add the keys below to your JSON settings.

Key Settings

Files to Monitor

"simpleLogs.files": [
"/var/log/nginx/access.log",
"${workspaceFolder}/logs/application.log"
]

Seed the extension with log files to track automatically when a workspace opens. Both absolute and ${workspaceFolder}-relative paths are supported.

Maximum Display Lines

"simpleLogs.maxDisplayLines": 1000

Defines how many lines SimpleLogs keeps in memory per file. Lower this value to reduce memory usage for very active logs.

Auto-Scroll Default

"simpleLogs.autoScrollDefault": true

Controls whether new viewer sessions start with auto-scroll enabled. You can always toggle it from the toolbar.

Advanced Filtering Default

"simpleLogs.advancedFiltering": false

When set to true, the viewer’s search box defaults to regex mode. Toggle it off if you prefer literal search by default.

Workspace vs. User Settings

All keys above can be stored at the user level or per workspace. Use workspace settings when each project requires its own log list or display preferences.