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

Parse SEARCH method #2580

Closed
panos-stavrianos opened this issue Nov 10, 2023 · 1 comment
Closed

Parse SEARCH method #2580

panos-stavrianos opened this issue Nov 10, 2023 · 1 comment

Comments

@panos-stavrianos
Copy link
Contributor

Hello, I have the following config

time-format %T
date-format %d/%b/%Y
log_format [%d:%t %^] %^ %^ %s - %m %^ %v "%U" [Client %h] [Length %b] [Gzip %^] [Sent-to %^] "%u" "%R"

example WORKING log line

[06/Nov/2023:14:52:35 +0200] - 200 200 - GET https .............................

example NOT WORKING log line

[06/Nov/2023:14:52:35 +0200] - 200 200 - SEARCH https .............................

The error is

Token 'SEARCH' doesn't match specifier '%m'

So I guess the search method is not included as it's not standardized, is there any workaround for now?

@allinurl
Copy link
Owner

You're right; the optimal approach would be to include it in the next version release. Could you contribute by submitting a pull request that adds the SEARCH method here? I'd be happy to merge it.

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