Jhipster ConsoleКак настроить приложение, не сгенерированное jhipster, для отправки журналов и показателей в консоль jhipster?
Я попытался скопировать MetricsConfiguration, LoggingConfiguration и JhipsterProperties среди других файлов вместе с их зависимостями.
Я нахожусь в полной потере, любые идеи или понимание будут оценены.
jhipster:
security:
rememberMe:
# security key (this key should be unique for your application, and kept secret)
key: #placeholder
mail: # specific JHipster mail property, for standard properties see MailProperties
from: [email protected]
baseUrl: http://127.0.0.1:8080
metrics: # DropWizard Metrics configuration, used by MetricsConfiguration
jmx.enabled: true
graphite:
enabled: false
host: localhost
port: 2003
prefix: jhipster
prometheus:
enabled: false
endpoint: /prometheusMetrics
logs: # Reports Dropwizard metrics in the logs
enabled: true
reportFrequency: 60 # in seconds
logging:
logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
enabled: true
host: localhost
port: 5000
queueSize: 512
Что вы сделали, кажется правильным. Откуда вы знаете, что это не работает? –