﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Database Deployment Toolkit » Database Deployment Toolkit (How do I?)  » DatabaseMigrator Class</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 10 Jun 2026 22:40:30 GMT</lastBuildDate><ttl>20</ttl><item><title>DatabaseMigrator Class</title><link>http://forum.strataframe.net/FindPost20146.aspx</link><description>Hi,&lt;/P&gt;&lt;P&gt;I have had some recent success with integrating the custom deployment sample into my application. What I have discovered is that it's a little more sensitive than the standard deployment method and as such I would like to get the log file returned in my error email.&lt;/P&gt;&lt;P&gt;The Logpathandfilename would be fine, but I would like to get the file that SF creates if possible.&lt;/P&gt;&lt;P&gt;can you help?&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Geoff.</description><pubDate>Thu, 16 Oct 2008 09:18:22 GMT</pubDate><dc:creator>Geoff Hirst</dc:creator></item><item><title>RE: DatabaseMigrator Class</title><link>http://forum.strataframe.net/FindPost20150.aspx</link><description>First, to turn on logging you would just do the following if you want SF to name the files for your:&lt;/P&gt;&lt;P&gt;[codesnippet]Dim mg As New MicroFour.StrataFrame.DBEngine.SQL.DatabaseMigrator("MyConnectionSTring", Me)&lt;BR&gt;mg.LogFilePathAndFileName = ""&lt;BR&gt;mg.EnableLogging = True[/codesnippet]&lt;/P&gt;&lt;P&gt;If you want to name the path and file name yourself, set the LogFilePathAndFileName.&amp;nbsp; Otherwise, SF will create the name in the location of the PKG file and will have a naming schema like this:&lt;/P&gt;&lt;P&gt;[codesnippet]PackageFileName_Results.log (First time)&lt;BR&gt;PackageFileName_ResultsN.log (N will be an auto-incremented number)[/codesnippet]&lt;/P&gt;&lt;P&gt;In our medical software we send the results log as well after an installation, we just get all of the files in that location for that name and send them.&amp;nbsp; Once sent, we move or rename those files so that they don't get sent again when an install is performed later.</description><pubDate>Thu, 16 Oct 2008 09:18:22 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>