[infinispan-issues] [JBoss JIRA] (ISPN-10539) Server Logging management via REST

Tristan Tarrant (Jira) issues at jboss.org
Mon Dec 2 04:57:01 EST 2019


    [ https://issues.jboss.org/browse/ISPN-10539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819497#comment-13819497 ] 

Tristan Tarrant commented on ISPN-10539:
----------------------------------------

I'd avoid allowing the upload of a new logging.properties file as the risks involved in validating handlers are very high.
It should be possible to:
* list available loggers, handlers, formatters
* add/manipulate a logger by specifying its name, formatter, level and handlers

`/v2/logging/?action=list-loggers`
`/v2/logging/?action=list-handlers`
`/v2/logging/?action=list-formatters`
`/v2/logging/org.infinispan.blah?action=set&level=DEBUG&handler=FILE&formatter=COLOR-PATTERN`
`/v2/logging/org.infinispan.blah?action=remove`





> Server Logging management via REST
> ----------------------------------
>
>                 Key: ISPN-10539
>                 URL: https://issues.jboss.org/browse/ISPN-10539
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: REST
>            Reporter: Gustavo Fernandes
>            Assignee: Gustavo Fernandes
>            Priority: Major
>
> For inspecting, altering the logging configuration by looking at the installed LogManager



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list