AWS Glue’s get_logger() sends logs to the stderr stream by default, which is why they appear in the Error Log Stream in CloudWatch.
If you prefer to stick with glueContext.get_logger() but ensure its logs appear in the Output Log Stream, you can redirect stderr to stdout
Add this line early in your script:
import sys sys.stderr = sys.stdout
This ensures all logs, including those from the Glue logger, go to the Output Log Stream in CloudWatch