How to activate Trace logging, Advanced logging?
Please see video below:
Method 2:
Using the @trace parameter in the t-sql command.
example:
exec master.dbo.xp_backup_database
@database = N'Northwind',
@backupname = N'Northwind - Full Database Backup',
@compressionlevel = 2,
@filename = N'F:\Backup\Northwind.bak',
@init = 1,
@trace = 'Domain=sls:default',
GO
Method 3:
Using the --trace parameter in the command line script.
example:
SQLLitespeed.exe --Trace Domain=sls:default -B "Database" -D "Northwind" -n "Northwind - Full Database Backup" -C "2" -F "F:\Backup\Northwind.bak" -I "1" -S "<serverName>"
All trace files are generated in the ErrorLogPath location, as per normal LiteSpeed logging.
The @logging parameter will override Trace Logging and should be de-activated.
Unless requested otherwise, the default value should be Domain=all:default. Dev may request other parameters and values to be used, especially when troubleshooting OLR which can be highly verbose.