sevdokimov / log-viewer

Web UI for viewing logs
Apache License 2.0
477 stars 105 forks source link

FINE log level not supported? #138

Closed jeanpierre92 closed 2 years ago

jeanpierre92 commented 2 years ago

Hi,

Momentarily log-viewer does not recognize the FINE log type. Is it possible to config this myself? It takes the DEBUG line and appends all the FINE entries until it finds the next DEBUG entry. These are the event details:

log format: log4j: %d{yyyy-MM-dd HH:mm:ss,SSS} %level %m%n Fields date 2022-09-01 13:08:09,492 level DEBUG

And this is an example of a DEBUG line with FINE lines in one event.

server 2022-09-01 13:08:09,492 DEBUG [web.impl.login.LoginController] (default task-1) onPreRenderView; paramUserName:null, paramTmpPassword:null, paramPasswordReset:null 2022-09-01 13:08:09,492 FINE [javax.enterprise.resource.webcontainer.jsf.application] (default task-1) Rendering View: /anonymous/logon/logon.xhtml 2022-09-01 13:08:09,493 FINE [javax.faces.component] (default task-1) No renderer-type for component j_id2 2022-09-01 13:08:09,493 FINE [javax.faces.component] (default task-1) No renderer-type for component j_idt2 2022-09-01 13:08:09,493 FINE [javax.faces.component] (default task-1) No renderer-type for component j_idt3 2022-09-01 13:08:09,493 FINE [javax.faces.component] (default task-1) No renderer-type for component j_idt4 2022-09-01 13:08:09,493 FINE [javax.faces.component] (default task-1) No renderer-type for component javax_faces_location_HEAD 2022-09-01 13:08:09,493 FINE [javax.faces.component] (default task-1) No renderer-type for component javax_faces_location_BODY 2022-09-01 13:08:09,494 FINE [javax.faces.component] (default task-1) No renderer-type for component j_id1 2022-09-01 13:08:09,494 FINE [javax.enterprise.resource.webcontainer.jsf.lifecycle] (default task-1) Exiting RenderResponsePhase 2022-09-01 13:08:09,495 FINE [javax.enterprise.resource.webcontainer.jsf.timing] (default task-1) [TIMING] - [23ms] : Execution time for phase (including any PhaseListeners) -> RENDER_RESPONSE 6 server 2022-09-01 13:08:09,495 DEBUG [org.springframework.security.web.context.HttpSessionSecurityContextRepository] (default task-1) Did not store anonymous SecurityContext

Thanks alot.

Regards, Jeanpierre

sevdokimov commented 2 years ago

Thanks for the feedback. Fixed. The fix will be available in the next version.