-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Request time not logged in access.log #13129
Comments
/cc @stuartwdouglas |
We are seeing the same problem here. |
Could you post the list of extensions printed at startup so that we know more about your setups? Thanks! |
I don't have mutiny, qute in pom.xml |
|
Hello @blsouthr,
As per the javadoc on the relevant class[1], it stands for:
|
Hello @blsouthr, @andrerigon, Looking at the code in the
[1] https://github.com/quarkusio/quarkus/blob/master/extensions/vertx-http/runtime/src/main/java/io/quarkus/vertx/http/runtime/attribute/ResponseTimeAttribute.java#L30 |
I wonder if we could at least raise a warning in this case. And in any case, we would need a mention in the table here: https://quarkus.io/guides/http-reference#configuring-http-access-logs as it's not exactly obvious :). |
Hi @jaikiran
solved the problem. Thanks! |
Hi @jaikiran, solved for me too. Thanks! |
Can this be closed? |
Sorry, the linked PR is still open and I need to fix that review commetns that gsmet asked for. |
Closing as #35588 was merged |
Describe the bug
I used documentation to configure access.log and modified combined format to include time taken to process request %D or %{RESPONSE_TIME} or %T
quarkus.http.access-log.pattern=%{REMOTE_HOST} %l %{REMOTE_USER} %{DATE_TIME} "%{REQUEST_LINE}" %{RESPONSE_CODE} %b %{RESPONSE_TIME} %T
The output:
2020-11-05 10:16:04,569 INFO [io.qua.htt.access-log] (executor-thread-174) 127.0.0.1 - - 05/Nov/2020:10:16:04 +0100 "GET /api HTTP/1.1" 200 17 - -
As you can see, last two entries are empty.
Btw, what is %l config option? There is no description in the documentation, but it is used in combined format
The text was updated successfully, but these errors were encountered: