Task logging levels should be configurable
Bug #1037969 reported by
Lars Butler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Medium
|
Lars Butler |
Bug Description
Related to the nhlib-integration branch: https:/
We have a decorator called '@oqtask' which is responsible for--among other things-
At the moment, the log level is hard-coded to 'debug'. This should really be set to the `--log-level` specified when the job is run. This means we should probably store the log level in the oq_job table. (Since the oq_job represents the runtime information about the calculation attempt, I think this is a good place for it. Additionally, the @oqtask decorator is already querying the oq_job from the database to check the status.)
Changed in openquake: | |
assignee: | nobody → Lars Butler (lars-butler) |
milestone: | none → 0.8.2 |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in openquake: | |
status: | Confirmed → In Progress |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Pull request: https:/ /github. com/gem/ oq-engine/ pull/862