Lounès Lounis
07/04/2024, 3:22 PMservice.py file, I set up loggers right before defining multiple @`bentoml.service` . When I build a Bento, the code outside of the service definitions, including my logger setup, gets executed. This requires me to provide a logging configuration file at build time, which seems unusual. Is this the expected behavior during the bentoml build process?
Thanks!Jian Shen Yap
07/04/2024, 3:26 PMLounès Lounis
07/04/2024, 3:38 PM__main__ or any other variable that indicates that we are at build/serving time ?