Skip to content
New issue

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

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

Already on GitHub? # to your account

Implement a log handler #279

Open
cohesive-flight opened this issue Dec 29, 2024 · 0 comments
Open

Implement a log handler #279

cohesive-flight opened this issue Dec 29, 2024 · 0 comments

Comments

@cohesive-flight
Copy link

cohesive-flight commented Dec 29, 2024

I would like to be able to log within a route, like in the example below:

{
    layer4 {
        :443 {
            @example tls sni example.com
            route @example {
                proxy example.com:443
            }
            @example2 tls sni example2.com
            route @example2 {
                log {
                    level DEBUG
                    format ...
                }
                proxy example2.com:443
            }
        }
    }
}


I'm currently doing this logging within the global options block, but that applies it to all routes, making it unnecessarily excessive.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant