[Geoserver-devel] Getting Log Level/Log profile through REST?

Dear programmers,

I didn’t find any way to find out the current log Level using the REST API. I expected to find something here in the settings endpoint

https://docs.geoserver.org/latest/en/api/#1.0.0/settings.yaml

Problem is that verbose logging potentially produces a lot of data on disk and greatly decreases performance so a regular check for the configured logging level (profile) would be a great improvement. Changing the log level via API would be even better.

Any plans to implement this or are there any supporters for this feature yet?

Regards,

Michael

Hi Michael,
I was about to answer “here it is” and then… I could not find it.
The REST API has been around since 2007, and yet indeed I cannot find a controller class
that manages the logging level.
Searched the issue tracker, could not find any report of it either (even including the closed/resolved tickets)

From the above, you can probably imagine there is likely no plan to support it, as we did not even notice
it was missing.

That said, it should not be particularly hard to add, if you or some colleague of your is a proficient
Java developer, see https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md
If not, you can look up commercial support providers and get a quote for its implementation:
http://geoserver.org/support/

Best regards
Andrea

···

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.