Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/logging/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Logging Dropwizard日志到终结点_Logging_Dropwizard - Fatal编程技术网

Logging Dropwizard日志到终结点

Logging Dropwizard日志到终结点,logging,dropwizard,Logging,Dropwizard,我希望dropwizard登录到端点 让dropwizard登录到文件很容易,即在配置中,您只需指定类型为file和currentLogfilename 但如何让dropwizard登录到http端点 i、 e 我的观察结果是,我配置了以下内容: <dependency> <groupId>io.dropwizard.metrics</groupId> <artifactId>metrics-servlets</artifac

我希望dropwizard登录到端点

让dropwizard登录到文件很容易,即在配置中,您只需指定类型为file和currentLogfilename

但如何让dropwizard登录到http端点

i、 e


我的观察结果是,我配置了以下内容:

<dependency>
    <groupId>io.dropwizard.metrics</groupId>
    <artifactId>metrics-servlets</artifactId>
    <version>${metrics.version}</version>
</dependency>

io.dropwizard.metrics

我的观察结果是,我配置了以下各项:

<dependency>
    <groupId>io.dropwizard.metrics</groupId>
    <artifactId>metrics-servlets</artifactId>
    <version>${metrics.version}</version>
</dependency>

io.dropwizard.metrics

我对此也一无所知。在我的场景中,我试图将dropwizard日志发送到graylog。dropwizard有一个tcp套接字附加器:这会有帮助吗?我对此也一无所知。在我的场景中,我试图将dropwizard日志发送到graylog。dropwizard有一个tcp套接字附加器:这有帮助吗?