Fork me on GitHub
#pedestal
<
2023-07-19
>
Avelino17:07:25

how do i remove the jetty logs on the pedestal? this:

[main] INFO org.eclipse.jetty.util.log - Logging initialized @4363ms to org.eclipse.jetty.util.log.Slf4jLog
[main] INFO org.eclipse.jetty.server.Server - jetty-9.4.44.v20210927; built: 2021-09-27T23:02:44.612Z; git: 8da83308eeca865e495e53ef315a249d63ba9332; jvm 20.0.1
[main] INFO org.eclipse.jetty.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@5824c80c{/,null,AVAILABLE}
Execution error (BindException) at  (Net.java:-2).

👀 2
souenzzo18:07:47

depends on which logging backend you are using if you are using logback, you can configure filters and avoid org.eclpse.* namespaces https://logback.qos.ch/manual/filters.html some backends, like simple do not support filters, AFIK using a nop backend may be a solution https://mvnrepository.com/artifact/org.slf4j/slf4j-nop

souenzzo16:07:26

HOW TO FILTER PEDESTA LOGS, VIA java.util.logs: I will leave this commit on this thread for docs https://github.com/souenzzo/moclojer/commit/bbe82379274c00228343d28ee926bc8ce63f6f1c

👏 2