Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find the SQL Server error log on a Linux machine

Tags:

sql-server

I have installed Mssql-Server on a Linux machine. Can anyone help me to find the SQL Server error log?

like image 395
Amit Yadav Avatar asked Nov 07 '25 17:11

Amit Yadav


1 Answers

Go to the default location of SQL Server Error Log file on a Linux machine

Syntext :--

cd /var/opt/mssql/log

ls -lrt

Here you can find the errorlog file of SQL Server

-rw-rw---- 1 mssql mssql 15838 Dec 22 16:26 errorlog

To check the content of errorlog

cat errorlog

like image 151
Amit Yadav Avatar answered Nov 10 '25 08:11

Amit Yadav



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!