Kibana version: 8.8.1
Elasticsearch version: 8.8.1
APM Server version: 8.8.1
APM Agent language and version: java 1.39.0
Browser version: chrome 114.0.5735.134
Original install method (e.g. download page, yum, deb, from source, etc.) and version: maven
Fresh install or upgraded from other version? fresh
Is there anything special in your setup?
Description of the problem including expected versus actual behavior. Please include screenshots (if relevant):
We have activated log_sending and experimental features is set to true
We only see limited logs in kibana from the application, specifically the apm agent logs only.
The application writes a lot of logs to files and the sdout (console) level is set to OFF:
<deployable>
<name>logging.stdout</name>
<type>wildfly.LoggingCategorySpec</type>
<category>stdout</category>
<level>OFF</level>
<tags>
<tag>${tag.default}</tag>
</tags>
</deployable>
We receive logs only from the apm-agent itself and none of the logs written to the filesystem.
Jun 20, 2023 @ 17:42:51.768 hp-backoffice ERROR Remote configuration is not available. Check the connection between APM Server and Kibana.
Jun 20, 2023 @ 15:38:56.511 hp-backoffice WARN com.ibm.as400.access.AS400JDBCConnection uses an unsupported class file version (pre Java 4)) and can't be instrumented. You may try setting the 'instrument_ancient_bytecode' config option to 'true', but notice that it may cause VerificationErrors or other issues.
Jun 20, 2023 @ 15:38:56.491 hp-backoffice WARN com.ibm.as400.access.AS400JDBCStatement uses an unsupported class file version (pre Java 4)) and can't be instrumented. You may try setting the 'instrument_ancient_bytecode' config option to 'true', but notice that it may cause VerificationErrors or other issues.
Jun 20, 2023 @ 15:38:56.465 hp-backoffice WARN com.ibm.as400.access.AS400JDBCPreparedStatement uses an unsupported class file version (pre Java 4)) and can't be instrumented. You may try setting the 'instrument_ancient_bytecode' config option to 'true', but notice that it may cause VerificationErrors or other issues.
Jun 20, 2023 @ 15:38:56.439 hp-backoffice WARN com.ibm.as400.access.AS400JDBCCallableStatement uses an unsupported class file version (pre Java 4)) and can't be instrumented. You may try setting the 'instrument_ancient_bytecode' config option to 'true', but notice that it may cause VerificationErrors or other issues.
Jun 20, 2023 @ 15:38:39.401 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:39.344 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:39.334 hp-backoffice WARN org.apache.commons.httpclient.HttpMethodDirector uses an unsupported class file version (pre Java 4)) and can't be instrumented. You may try setting the 'instrument_ancient_bytecode' config option to 'true', but notice that it may cause VerificationErrors or other issues.
Jun 20, 2023 @ 15:38:39.097 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:38.693 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:38.411 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:38.159 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:35.583 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:35.583 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
Jun 20, 2023 @ 15:38:35.401 hp-backoffice INFO Cannot read implementation version based on ProtectionDomain. This should not affect your agent's functionality. Failed with message: URI scheme is not "file"
...
...
...
Does the log_sending feature only intercept logs going to system out?
Is there a way to target specific loggers to be intercepted in our Java code/settings?
Maybe this commit can be helpfull:
We understand that log_sending is an experimental feature but comes really handy in our PoC fese of implementing Observability.
Thanks.