Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify logging in prior engine #41

Open
tramsauer opened this issue Feb 21, 2019 · 1 comment
Open

Modify logging in prior engine #41

tramsauer opened this issue Feb 21, 2019 · 1 comment

Comments

@tramsauer
Copy link
Collaborator

We have included a prior engine specific logging..however this may cause trouble in the auto-documentation process..see #40

I read that

Modules, that is, libraries intended to be used by other programs, should only emit log messages as a best practice. They should never configure how log messages are handled. That is the responsibility of the application that imports and uses the modules.

Is a MULTIPLY application-wide logger (possibly based in multiply-core) envisaged? And if so should we just instatiate loggers via

import logging

log = logging.getLogger(__name__)

def do_something():
    log.debug("Doing something!")
@TonioF
Copy link
Collaborator

TonioF commented Feb 21, 2019

We need to define how to monitor the state of a component's task. This could come together with a logger, but this has not been conceived yet.

For now, every component does its own logging and doing it as you described above is perfectly fine (and done by several components).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants