-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Allow to view/change logger levels through the API #4275
Comments
ZAP uses log4j, so the logger level can be set on a per class basis. |
Thank you first. |
Yeah, I understood. But theres not actually just one level, there can be a different level per class. If we add API calls for this we should cope with the general case. |
Would we want a UI for this as well or just API calls and scripts? (I'm asking because I don't want to implement API actions and then find out we should have named them differently if they're options in the UI.) I personally don't think it's necessary to have in the UI, given it can be handled simply with a standalone script and the majority of users shouldn't need to change it. I guess if we add a UI in the future it could also be a dialog or different type of panel in the UI. |
I dont think we need a UI right now. It could be a panel in the Options, but def not a priority for me. |
So I've currently added views Shall I add an action with a generic name like |
IMO |
Shall I rename For consistency. |
When I used the zaproxy to scan some applications, I want to know which logger level does zaproxy use.
So I want to implement a api to view the logger level , it;s url maybe like this:
http://zap/JSON/core/view/loggerlevel/?zapapiformat=JSON&apikey=111&formMethod=GET
and response will be like this:
{"loggerlevel":"DEBUG"}
Or some other suggestions?
The text was updated successfully, but these errors were encountered: