Skip to content

Log viewer incorrectly displaying error log level when error log level is not used #1996

@lifeforced

Description

@lifeforced

To Reproduce

My guess is it's doing this because the log message includes the word "failed" in it.

Here's my evidence from Dokploy log viewer:

Image

You can see the red coloured line displays as an error.

However, the java code for this message uses log level info. Additionally, I've cross-refenced this log in Grafana and it displays correctly in that. See below Java code and Grafana logs screenshots.

Image

Image

Current vs. Expected behavior

Currently a log with level info have the word "failed" in its message displays as an error log in the Dokploy log viewer.

It should display as log level info, regardless of what words exist in its log message.

Provide environment information

Not relevant in this case, but, 

Dokploy Cloud
Hetzner
amd64, 4 CPU, 8GB RAM
Debian 12
Docker Compose running Java Spring Boot service with JRE 17

Which area(s) are affected? (Select all that apply)

Cloud Version, Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Remote server

Additional context

My guess is it's doing this because the log message includes the word "failed" in it.

Will you send a PR to fix it?

Maybe, need help

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions