Skip to content

app/vmui: add log level detection with disable option#1377

Open
Loori-R wants to merge 1 commit intomasterfrom
vmui/issue-1245/log-level-detection
Open

app/vmui: add log level detection with disable option#1377
Loori-R wants to merge 1 commit intomasterfrom
vmui/issue-1245/log-level-detection

Conversation

@Loori-R
Copy link
Copy Markdown
Contributor

@Loori-R Loori-R commented May 4, 2026

Describe Your Changes

Add log level detection with an option to disable it.

Supported log level fields
level
lvl
log_level
log.level
loglevel
SeverityText
severityText
severity_text
severity
levelname
level_name
@l
@level
logLevel
logLevelName
detected_level
status
syslog.severity.name
log.syslog.severity.name
Level
severityLevel
log_severity
severityValue

Related issue: #1245

Changes

  • add log level detection from log fields
  • show log level labels next to each log entry
  • add a toggle in Group view settings to enable or disable log level detection

Screenshots

Log level labels in Group tab

Log level labels in Group tab

Group view setting

Log level detection setting

@Loori-R Loori-R added the web-ui Issues related to the user interface: layout, styling, usability, or UI-specific bugs. label May 4, 2026
@Loori-R Loori-R linked an issue May 4, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 12 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="app/vmui/packages/vmui/src/components/Views/GroupView/GroupLogsConfigurators/style.scss">

<violation number="1" location="app/vmui/packages/vmui/src/components/Views/GroupView/GroupLogsConfigurators/style.scss:7">
P2: The new `clamp(360px, 90vw, 600px)` enforces a 360px minimum, which can overflow on very narrow screens. Use a responsive width that can shrink below 360px.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

@Loori-R Loori-R force-pushed the vmui/issue-1245/log-level-detection branch from 5531c8c to ba19c1a Compare May 4, 2026 11:41
Copy link
Copy Markdown
Member

@arturminchukov arturminchukov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! left just one comment

Comment thread app/vmui/packages/vmui/src/constants/logLevel.ts
Comment thread app/vmui/packages/vmui/src/constants/logLevel.ts
Comment thread docs/victorialogs/CHANGELOG.md Outdated
@Loori-R Loori-R force-pushed the vmui/issue-1245/log-level-detection branch from ba19c1a to 3c84fa3 Compare May 6, 2026 11:34
Comment thread app/vmui/packages/vmui/src/components/Views/GroupView/GroupLogsItem.tsx Outdated
@Loori-R Loori-R force-pushed the vmui/issue-1245/log-level-detection branch from 3c84fa3 to e5ce54f Compare May 7, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

web-ui Issues related to the user interface: layout, styling, usability, or UI-specific bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI: Add log level colors

3 participants