-
Notifications
You must be signed in to change notification settings - Fork 82
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
Be able to change SageMaker endpoint log level #70
Comments
Hello, @oonisim , I do not have access to your support case link. Are you referring to the log config with |
I think the easiest way of implementing this would be allowing the customer to provide their own log4j config file through the dependencies arg here. The file should follow a naming convention, something like |
I have the same problem. The cloudwatch log generated by sagemaker endpoint have too much redundant info. For example, the timestamp are repetitive and the com.amazonaws.ml.mms.wlm.WorkderLifeCycle doesn't mean anything to me. I wonder how to change the logging format to suppress the redundant info? 2021-01-11T14:33:57.539-06:00 | 2021-01-11 20:33:56,799 [INFO ] W-model-1-stdout com.amazonaws.ml.mms.wlm.WorkerLifeCycle - pytorch version: 1.5.1 |
Same here, any help? |
Any news on this? This is very problematic for anything using PySpark (both training and inference), which outputs a lot of logs, and 99% are totally useless |
Bump 🙏🏻 |
Any update on this? |
imo, i shouldn't need to apply any custom modifications or env flags to at least get the error message and ideally stacktrace to cloudwatch when the container returns http status 500. |
same error. Any help? |
same issue, can someone please provide any update on the log level configuration? |
same issue here. would be great to have a solution on it. thanks |
Have a look at: |
Describe the feature you'd like
Be able to change the SageMaker endpoint cloudwatch log level.
As in the AWS support case 7309023801, currently the pre-built AWS DL container + SageMaker endpoint has no option to change the cloudwatch log level, hence creating INFO logs for every health check access. It makes difficult to see the relevant error logs.
How would this feature be used? Please describe.
Be able to only see the error logs.
Describe alternatives you've considered
As in the case 7309023801, create BYO container but it is overkill just to change the log level.
Additional context
CloudWatch log being cluttered with INFO with /ping health checks.
The text was updated successfully, but these errors were encountered: