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

実行元情報(request_uri, method etc..)を出力する? #7

Open
chanshige opened this issue Oct 8, 2021 · 0 comments
Open

実行元情報(request_uri, method etc..)を出力する? #7

chanshige opened this issue Oct 8, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@chanshige
Copy link
Owner

chanshige commented Oct 8, 2021

現状SQLに対するログのみ出力しているが、ログのみでは実行元がわからない。
request_uri等も一緒に出すかどうか、検討する。

このような形にするかどうか、、

[2021-10-08 05:10:07] local.DEBUG: REQUEST {"method":"POST","uri":"/auth/signin","content":"username=roberts.favian&password=password"} 
[2021-10-08 05:10:07] local.DEBUG: QueryExecuted {"sql":"select * from \"users\" where \"username\" = 'roberts.favian' limit 1","bind":["roberts.favian"],"time":"0.009350000000000"} 
@chanshige chanshige added the enhancement New feature or request label Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant