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
We need to log to stdout because this is how Pachyderm will be able to track the logs from the container. So, I don't think that we need to set file related things. In terms of logging more generally, maybe we want to do something like this, but at a higher level for the API (such that all the scripts and API itself can import this). However, let's push that to a new PR. For now, I think something like the following would suffice:
import logging
logging.warning('Watch out!') # will print a message to the console logging.info('I told you so') # will not print anything
The text was updated successfully, but these errors were encountered:
We need to log to stdout because this is how Pachyderm will be able to track the logs from the container. So, I don't think that we need to set file related things. In terms of logging more generally, maybe we want to do something like this, but at a higher level for the API (such that all the scripts and API itself can import this). However, let's push that to a new PR. For now, I think something like the following would suffice:
import logging
logging.warning('Watch out!') # will print a message to the console
logging.info('I told you so') # will not print anything
The text was updated successfully, but these errors were encountered: