Skip to content

Models logging is buggy #974

@panosatha

Description

@panosatha

FloodAdapt version checks

  • I have checked that this issue has not already been reported.
  • I have checked that this bug exists on the latest version of FloodAdapt.

Reproducible Example

The way that the adapters are set up, a logger file handler is set up in the template model when opened in initialization. Which ends up writing log statements in the template folder which should not be the case.

Moreover, the SFINCS model output is now not written in the log when running.

Current behaviour

The way that the adapters are set up, a logger file handler is set up in the template model when opened in initialization. Which ends up writing log statements in the template folder which should not be the case.

Moreover, the SFINCS model output is now not written in the log when running.

Desired behaviour

No changes or extra files (logs) should be written in the template models.

The scenario simulations should have correct logs of the model runs.

Task list

  • check adapters and logging
  • correct and refactor
  • test with runs

Additional context

No response

Metadata

Metadata

Labels

BugSomething isn't workingLog fileHow FA logs things

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions