Everything is in the title. We can change the number of errorlog files using the registry on Windows, does anybody know if it is possible on Linux? I see no mssql-conf option for this.
Thanks
linuxsql server
Everything is in the title. We can change the number of errorlog files using the registry on Windows, does anybody know if it is possible on Linux? I see no mssql-conf option for this.
Thanks
Best Answer
This is not possible at the moment, even on CTP 3.1 of SQL Server 2019 as I write this.
As you've discovered, it requires changing a registry setting, and trying to run
xp_instance_regwrite
results in the following error:Bob Ward's book Pro SQL Server on Linux doesn't mention anything either. It refers to
filelocation.errorlogfile
for setting the path usingmssql-conf
, but not the number of files.If I were to hazard a guess, this will eventually find its way into the product, but it is not there now.