Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some error messages are not logged unless info logging is turned on #7185

Closed
oyzar opened this issue May 6, 2024 · 1 comment
Closed

Some error messages are not logged unless info logging is turned on #7185

oyzar opened this issue May 6, 2024 · 1 comment

Comments

@oyzar
Copy link

oyzar commented May 6, 2024

Describe the bug

    public static void Error<T1, T2, T3, T4>(this ILoggingAdapter log, Exception cause, string format, T1 arg1,
        T2 arg2, T3 arg3, T4 arg4)
    {
        if (!log.IsInfoEnabled)
            return;

        log.Log(LogLevel.ErrorLevel, cause, format, arg1, arg2, arg3, arg4);
    }
    
    this should be IsErrorEnabled
Hannott pushed a commit to Hannott/akka.net that referenced this issue May 6, 2024
Aaronontheweb pushed a commit that referenced this issue May 6, 2024
Co-authored-by: aakjaergaard <aasmund@webmed.no>
@Aaronontheweb
Copy link
Member

I believe this has been fixed via #7185

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants