LinuxDoku / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

Logger set after Migrations loaded in NAnt/MSBuild tasks #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
(in the refactorings-unstable branch)

In both the NAnt and MSBuild tasks, the logger is set after the Migrator
constructor is called, during which the Migrations are loaded - so any
logging of the migration loading will not go to the correct logger.

The attached patch fixes this by modifying the Migrator constructor to
accept an ILogger, or use the current default if none is provided.

Original issue reported on code.google.com by michael....@gmail.com on 2 Jun 2008 at 2:35

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by geoffl...@gmail.com on 2 Jun 2008 at 2:53

GoogleCodeExporter commented 8 years ago
SVN-55
Applied patch

Original comment by geoffl...@gmail.com on 2 Jun 2008 at 3:09