How to control diaglog error capture level?

Hi all - I updated to beta10 today and noticed the below entries in my log file for every click interaction from the client.

2026-05-12 17:53:10.842423|INFO    |ServerParser  |   |begin------------------------------ COMMAND STATISTICS ------------------------------begin
2026-05-12 17:53:10.842566|INFO    |ServerParser  |   |cmd: channelgetdescription, calls: 8, time: 1175, timePerCall: 146
2026-05-12 17:53:10.842603|INFO    |ServerParser  |   |cmd: channelsubscribeall, calls: 1, time: 786, timePerCall: 786
2026-05-12 17:53:10.842636|INFO    |ServerParser  |   |cmd: clientmove, calls: 2, time: 1990, timePerCall: 995
2026-05-12 17:53:10.842666|INFO    |ServerParser  |   |cmd: clientupdate, calls: 1, time: 377, timePerCall: 377
2026-05-12 17:53:10.842697|INFO    |ServerParser  |   |cmd: ftgetfilelist, calls: 2, time: 554, timePerCall: 277
2026-05-12 17:53:10.842727|INFO    |ServerParser  |   |cmd: permeffective, calls: 8, time: 1135, timePerCall: 141
2026-05-12 17:53:10.842757|INFO    |ServerParser  |   |cmd: permissionlist, calls: 1, time: 852, timePerCall: 852
2026-05-12 17:53:10.842784|INFO    |ServerParser  |   |cmd: servergetvariables, calls: 2, time: 380, timePerCall: 190
2026-05-12 17:53:10.842811|INFO    |ServerParser  |   |cmd: updatemytsdata, calls: 1, time: 755, timePerCall: 755
2026-05-12 17:53:10.842837|INFO    |ServerParser  |   |end-------------------------------- COMMAND STATISTICS --------------------------------end

This is fine for the time being, as I’m on a test/dev server, but for production this is out of the question and I do not need it enabled.

Is it possible to change the error capture level to reduce the information above?

Those logs are only printed when you have this parameter

--query-log-command

or are using this env var

TSSERVER_QUERY_LOG_COMMANDS

3 Likes

OH - I know exactly what is going on!

I know I don’t use any parameters when I start the ts6server, and I also know I don’t have any environmental variables set up either for the ts6server uid.

All of my settings are in my tsserver.yaml file.

In this case, query-log-command corresponds to the following:

server:
  query:
    log-commands: 1  # If specified every command received on the query interface will be logged

Changing log-commands to 0 and bouncing the ts6server instance resolved this issue.

Thanks again for your help!

1 Like