Skip to content

wrong log type? #91

@Zoey2936

Description

@Zoey2936

When starting nginx there is always logged:
[error] 1594#1594: [lua] crowdsec.lua:104: init(): APPSEC is enabled on '127.0.0.1:7422'
But I don't see what the error is, but it seems to be wanted:

ngx.log(ngx.ERR, "APPSEC is enabled on '" .. runtime.conf["APPSEC_HOST"] .. "'")

maybe this should be changed to info or notice or something like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions