February 7, 2007 at 2:57 pm
I would like to run the SSEE install from the command line, and specify a directory for log output. In other words, I would like to send the log files somewhere other than the default location.
I have spent some time digging through Microsoft's documentation at http://msdn2.microsoft.com/en-us/library/ms144259.aspx, but don't see anything documented. So this group is my last hope.
Does anyone know of an undocumented command-line switch which will redirect logging to a directory of my choice, instead of %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG?
Thanks.
February 8, 2007 at 8:21 pm
You can change the location by defining the location before creating the database, if the new location is on a Network drive you need to run DBCC Traceon before creating the database. The standard location change is covered below. I am assuming you know all the files in that database will be in the folder not just the log file. Hope this helps.
http://msdn2.microsoft.com/en-us/library/ms179316.aspx
Kind regards,
Gift Peddie
February 9, 2007 at 7:43 am
To clarify: I was asking how to redirect the logging for the SSEE install, not the runtime logs.
And after some experimentation, I discovered the answer. Simply pass 'LOGPATH=""' as one of the command-line arguments.
Thanks for the reply.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply