The logs don’t lie, but they can waste your time if your tools aren’t tuned. Lnav loads faster, parses smarter, and gives you context only when your configuration is right. The user-config-dependent setting lets you control how views, formats, and filters adapt to your local setup without breaking shared workflows.
By default, Lnav pulls both system and user configurations. When user-config-dependent is enabled, it treats certain settings—like custom log formats, color themes, or SQL queries—as tied to your user profile. This eliminates guesswork when switching between shared environments, because your private overrides don’t bleed into team-wide defaults.
To use it, check your Lnav version supports the setting. In your ~/.lnav/config.json, set:
{
"ui": {
"user-config-dependent": true
}
}
Restart Lnav, then run :config to confirm it’s active. When enabled, search paths and priority rules change: