/bin/log

Log my thoughts

Home About GitHub

21 Oct 2013
Enable sybase sql log

Enable sybase sql log

call sa_server_option('request_level_logging','SQL');
call sa_server_option('request_level_log_file',
                      'c:\sybaselog.txt');

Disable sybase sql log

call sa_server_option('request_level_log_file','');

Check log level and where is log file

select property('RequestLogFile'), property('RequestLogging');
Reference:

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc00170.1510/html/iqapgv1/BABIAEJJ.htm


Carpe diem,
JZR at 18:44

Home About GitHub