Comments
2 comments
-
I've come up with a workaround which is to append the contents of the StandardError property (which contains the SQL error message) of the SQL Compare process to the output text file.
Not ideal but it does the job in my particular situation.
-
Hi, Thank you for your forum post.
There are no other options other than the <loglevel>Verbose</loglevel> (/LogLevel:Verbose). In my experience if the logging process is able to capture the SQL Error details it will include this in the log file.
As you are using the XML argument file to specify the command line arguments, do you experience the same problem using the command line switches? For example:
sqlcompare /server1:localhost /database1:MyDatabase /username1:MyUserName /password1:p@ssw0rd /server2:localhost /database2:MyDatabase2 /username2:MyUserName /password2:p@ssw0rd /ignoreparsererrors /out:"C:\Temp\output.txt" /options:IgnoreUsersPermissionsAndRoleMemberships,IncludeDependencies,IgnoreKeys,DisableAndReenableDdlTriggers,NoTransactions,NoDeploymentLogging,IgnoreIndexes,AddDatabaseUseStatement /loglevel:Verbose /report:"C:\Temp\report.xml" /reporttype:XML /scriptfile:"C:\Temp\scriptfile.sql" /synchronise /verbose /force
Or using the GUI?
Many Thanks
Eddie
Add comment
Please sign in to leave a comment.
i.e.
...Checking for identical databases
<log end>
Is there a way to force writing the SQL error to the log file? Am I missing an option?
Using version 13.7.16.11325 with the following in a config file:
Thanks
Chris