On Mon, Apr 6, 2020 at 6:41 AM Piviul <[email protected]> wrote:

> Hi all,
> I would like to reduce logs in tomcat catalina.out file. Reading the
> catalina.out seems that gucamole logs debug messages too. Reading the
> documentation[ยน] the file that I have to configure is the logback.xml.
> This is the content of this file:
> > <configuration>
> >
> >     <!-- Appender for debugging -->
> >     <appender name="GUAC-DEBUG"
> class="ch.qos.logback.core.ConsoleAppender">
> >         <encoder>
> >             <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
> %msg%n</pattern>
> >         </encoder>
> >     </appender>
> >
> >     <!-- Log at DEBUG level -->
> >     <root level="debug">
> >         <appender-ref ref="GUAC-DEBUG"/>
> >     </root>
> >
> > </configuration>
>
> Removing this configuration file the logs in catalina.out seems to
> reduce but ...to much! :) doesn't logs nothing even, WARN or INFO level
> are missing and thus are not logged failing login attempts that I need
> it to have fail2ban working.
>
> By default it should log at the INFO level, but instead of removing the
line, try changing the root level option to either info or warn (or maybe
warning).

-Nick

Reply via email to