on 2012 Jan 17 6:06 PM
Feeling a bit lost on this one, I am simply trying to set the RequestLogMaxSize option under SA 12 using sa_server_option:
call sa_server_option('RequestLogMaxSize','20k')
No matter how I format it or change it, I get "Invalid setting for option 'RequestLogMaxSize'" (unless I specify zero). I'm able to set it using -zs.
What am I missing? Am I not able to set it using the stored proc?
Request clarification before answering.
It appears that the server option is specified in bytes, making the 'k' suffix of the size an invalid input:
sa_server_option system procedure
If you execute the procedure as:
CALL sa_server_option('RequestLogMaxSize',20480);
It will work correctly. The k/m/g suffixes are interpreted as necessary from the command line parser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.