I have enabled the logging API by below command :
gcloud services enable logging
I have followed the steps: https://cloud.google.com/dataflow/docs/quickstarts/create-pipeline-java to create the pipeline.
I am using slf4j logger lib for logging the jobs. still, no logs are visible in GCP dataflow console.