This message was deleted.
# announcements
s
This message was deleted.
j
Just realized my version is 0.12.1. I've seen that there were major updates. I've tried passing the config file with the --config flag, but I also get a schema error.
a
you might try to update to 0.13.0, since we have a major config redesign.
l
@Aaron Pham, I'm using Bento 0.13, and everything is running ok. But, if I add custom logging information in my service (logging.info using Python library), it's not printed in the console. If I just put a "print" the console logs my messages. Do I need to change something in the default log config to insert my custom logs?
a
can you elaborate more @Lucas Rolim wrt custom log? Is this with your custom configuration?
l
No. With custom logs, I mean just additional log lines. Like:
Copy code
probas = self.artifacts.model.predict_proba(model_input)
        proba_1 = probas[:,1]
        proba_0 = probas[:,0]

        <http://logging.info|logging.info>(f'Model predictions: {labels}')
        <http://logging.info|logging.info>(f'Model probabilities: {probas}')
<http://logging.info|logging.info>(f'Model predictions: {labels}')
does not appear in the console, but if I put
print(f'Model predictions: {labels}')
it appears.
a
did you have a logger setup?
s
@Lucas Rolim did you happen to disable console logs? The config in @Jessica de Paula Liporace earlier question had disabled console logs.
Copy code
logging:
    level: INFO
    console:
        enabled: False