Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws2S3connector: camel.source.endpoint.runLoggingLevel=TRACE no trace log #340

Closed
rbaumgar opened this issue Jul 29, 2020 · 5 comments
Closed
Milestone

Comments

@rbaumgar
Copy link

aws2S3connector
If I set camel.source.endpoint.runLoggingLevel=TRACE (default) I do NOT find any trace records in the log.

log

2020-07-29 08:25:01,869 INFO WorkerSourceTask{id=aws2-s3-source-connector-0} Committing offsets (org.apache.kafka.connect.runtime.WorkerSourceTask) [SourceTaskOffsetCommitter-1]
2020-07-29 08:25:01,869 INFO WorkerSourceTask{id=aws2-s3-source-connector-0} flushing 0 outstanding messages for offset commit (org.apache.kafka.connect.runtime.WorkerSourceTask) [SourceTaskOffsetCommitter-1]
2020-07-29 08:25:08,747 INFO Exchange[Body: Hello from Camel Kafka Connector] (kafkaconnector) [task-thread-log-connector-0]
2020-07-29 08:26:01,870 INFO WorkerSourceTask{id=aws2-s3-source-connector-0} Committing offsets (org.apache.kafka.connect.runtime.WorkerSourceTask) [SourceTaskOffsetCommitter-1]
2020-07-29 08:26:01,870 INFO WorkerSourceTask{id=aws2-s3-source-connector-0} flushing 0 outstanding messages for offset commit (org.apache.kafka.connect.runtime.WorkerSourceTask) [SourceTaskOffsetCommitter-1]
2020-07-29 08:26:01,872 INFO WorkerSourceTask{id=aws2-s3-source-connector-0} Finished commitOffsets successfully in 2 ms (org.apache.kafka.connect.runtime.WorkerSourceTask) [SourceTaskOffsetCommitter-1]

@valdar
Copy link
Member

valdar commented Jul 29, 2020

I think you also need to set the Kafka connect log level to TRACE. The camel.source.endpoint.runLoggingLevel option should be read as "what is the level you want the complete logs of each message to be generated at?" (default is they are not generated).

If you try to set that at INFO you will see a detailed log of each message handled by the connector.

I agree that the name of the property is misleading... and could be improved

@rbaumgar
Copy link
Author

I have now updated my KafkaConnctS2I with
logging:
loggers:
logger.name: TRACE
type: inline
But it does not help! Still no trace available...

@valdar
Copy link
Member

valdar commented Aug 3, 2020

So if you set camel.source.endpoint.runLoggingLevel=INFO do you see some logs for each record handled by the connector?

@rbaumgar
Copy link
Author

rbaumgar commented Aug 4, 2020

No. Neither with camel.source.endpoint.runLoggingLevel=INFO nor with TRACE.

@oscerd oscerd added this to the 0.8.0 milestone Jan 13, 2021
@oscerd
Copy link
Contributor

oscerd commented Feb 5, 2021

Related to #980

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants