You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added a new function 'configure_logging()' to dynamically set log levels
- Utilize TS_LOGLEVEL environment variable to control logging verbosity
- Support log levels: OFF, FATAL, ERROR, WARN, INFO, DEBUG, TRACE
- Modify log4j2.xml file using sed command based on TS_LOGLEVEL
- Handle potential errors during log configuration gracefully
- Call configure_logging() before starting TorchServe
- Aim to reduce excessive logging and associated CloudWatch costs
- Maintain default logging if TS_LOGLEVEL is not set or invalid
0 commit comments