Skywalking: plugin.toolkit.log.grpc.reporter.server_host=${SW_GRPC_LOG_SERVER_HOST:127.0.0.1} doesnot effect

Created on 23 Feb 2021  路  7Comments  路  Source: apache/skywalking

refrence this page: https://github.com/apache/skywalking/blob/master/docs/en/setup/service-agent/java-agent/Application-toolkit-log4j-2.x.md
I place the follow in agent.conf
plugin.toolkit.log.grpc.reporter.server_host=${SW_GRPC_LOG_SERVER_HOST:192.168.1.84}

but it does not effect
I debug it and seee the pic below
image

question

Most helpful comment

Do you know the people you mentioned above?

All 7 comments

Do you know the people you mentioned above?

image
Let me make sure again

image

@whaon could u check again?

I checked but it failed again
but the other variable is ok,such as agent.service_name
image

the version is v8.4.0 for H2/MySQL/TiDB/InfluxDB/ElasticSearch 7 and I download it from http://skywalking.apache.org/downloads/
image

can you tell me where the place is solving the parameter plugin.toolkit.log.grpc.reporter.server_host
@EvanLjp

Do you know the people you mentioned above?

idk,just use the tips where i type @, :)

I get the reason @EvanLjp @wu-sheng
because I placed the below in the pom

<dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>apm-toolkit-log4j-2.x-activation</artifactId>
            <version>8.4.0</version>
            <scope>provided</scope>
</dependency>

when i remove it and it's ok now

but another issue is the time is wrong ,see the pic :
image

I get the reason @EvanLjp @wu-sheng
because I placed the below in the pom

<dependency>
            <groupId>org.apache.skywalking</groupId>
            <artifactId>apm-toolkit-log4j-2.x-activation</artifactId>
            <version>8.4.0</version>
            <scope>provided</scope>
</dependency>

when i remove it and it's ok now

but another issue is the time is wrong ,see the pic :
image

see #6343

Was this page helpful?
0 / 5 - 0 ratings