Open stevenmanton opened 3 years ago
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository
@icywang86rui Here's another PR for you to take a look at. Thank you!
@schenqian would you mind taking a look at this PR? Thanks!
+1, this would be very useful
This looks very useful!
Issue #, if available:
By default, the logging level for
torchserve
isINFO
, which can create a ton of logs.83
Description of changes:
There is a hacky workaround where you can fork this repo, change the
log4j.properties
, and install that fork inrequirements.txt
, but the changes in this PR support a more elegant solution.The code simply checks the code directory for
log4j.properties
(in exactly the same way it looks forrequirements.txt
). If it finds that file, it uses it for the logging configuration passed totorchserve
. If it doesn't, it uses the default.