I have deployed my 2 java applications( ant and maven based) in gcp compute engine , i wish to connect those log files to GCP stackdriver logging .
Can any one help me on this out ?
I have deployed my 2 java applications( ant and maven based) in gcp compute engine , i wish to connect those log files to GCP stackdriver logging .
Can any one help me on this out ?
You need to configure the logging agent, see here: https://cloud.google.com/logging/docs/agent/installation
You can use the stackdriver logging library for java: https://cloud.google.com/logging/docs/setup/java
That being said, if all you need to run is some java applications, it probably makes more sense to deploy them in appengine standard (or flex, depending on needs), where logging is configured out of the box.