Я пытаюсь интегрировать свое приложение с часовым, но не вижу журналов в часовом.Вот мой файл log4j2.xml
<Configuration packages="org.apache.logging.log4j.core,io.sentry.log4j2">
<Appenders>
<Console name="stdout">
<PatternLayout pattern="%d{ABSOLUTE} %5p %c{1}:%L - %m%n" />
</Console>
<RollingFile name="por" fileName="${sys:catalina.base}/logs/por.log" filePattern="${sys:catalina.base}/logs/por.log.%d{yyyy-MM-dd}">
<PatternLayout pattern="%d %5p %c{1}:(%t):%L - %m%n"/>
<Policies>
<TimeBasedTriggeringPolicy interval="6"/>
</Policies>
</RollingFile>
</Appenders>
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
</Console>
<Sentry name="Sentry" />
</Appenders>
<Loggers>
<Root level="info" additivity="false">
<AppenderRef ref="por"/>
<AppenderRef ref="stdout"/>
<AppenderRef ref="Console" />
<AppenderRef ref="Sentry" level="info" />
</Root>
<Logger name="org.apache.cxf.interceptor.LoggingOutInterceptor" level="info" additivity="false">
<AppenderRef ref="por"/>
</Logger>
<Logger name="org.apache.cxf.interceptor.LoggingInInterceptor" level="info" additivity="false">
<AppenderRef ref="por"/>
</Logger>
<Logger name="org.hibernate" level="info"/>
<Logger name="org.springframework" level="info"/>
<Logger name="org.mchange" level="info"/>
<Logger name="org.apache" level="info"/>
</Loggers>
</Configuration>
Я также вижу журналы, такие как:
20:43:43.248 [localhost-startStop-1] WARN io.sentry.DefaultSentryClientFactory - No 'stacktrace.app.packages' was configured, this option is highly recommended as it affects stacktrace grouping and display on Sentry. See documentation: https://docs.sentry.io/clients/java/config/#in-application-stack-frames
2018-10-24 20:43:43,248 ERROR Recursive call to appender Sentry
20:43:43.345 [localhost-startStop-1] WARN io.sentry.DefaultSentryClientFactory - No 'stacktrace.app.packages' was configured, this option is highly recommended as it affects stacktrace grouping and display on Sentry. See documentation: https://docs.sentry.io/clients/java/config/#in-application-stack-frames
2018-10-24 20:43:43,345 ERROR Recursive call to appender Sentry
20:43:44.815 [sentry-pool-1-thread-3] WARN io.sentry.connection.AbstractConnection.lockdown - Initiated a temporary lockdown because of exception: Too many requests to Sentry: https://docs.sentry.io/learn/quotas/
Я вижу журналы в моем файле журнала, но не вижу ошибок / информации / предупреждений в часовом.