# -*- mode: snippet -*-
# name: Server Logs Debug - DE
# key: xsld
# --
In order to generate the debug level Tableau Server logs please follow the steps outlined below (full documentation on changing the logging levels can be found here https://help.tableau.com/current/server/en-us/logs_debug_level.htm):

First, stop Tableau Server, then change the logging level to debug and collect the logs:
	1. Stop Tableau Server by typing: tsm stop
	2. Set the data server logging level to debug by typing: tsm configuration set -k dataserver.log.level  -v debug
	3. Set the  vizqlserver logging level to debug by typing: tsm configuration set -k vizqlserver.log.level  -v debug
	4. Set the  vizqlserver.native_api logging level to debug by typing: tsm configuration set -k vizqlserver.native_api.log.level -v debug
	5. Set the  backgrounder logging level to debug by typing: tsm configuration set -k backgrounder.log.level  -v debug
	6. Apply pending changes by running: tsm pending-changes apply
	7. Start Tableau Server by running the following command: tsm start
	8. Reproduce the issue a few times and note down the exact date/time of the reproduction.
	9. Then please collect the Tableau Server logs as described here:  https://help.tableau.com/current/server/en-us/logs_archive.htm

Lastly, change all modified logging levels back to default, since the debug level consumes a lot of disk space quickly:
	1. Stop Tableau Server by typing: tsm stop
	2. Set the logging level to debug by typing: tsm configuration set -k dataserver.log.level -d
	3. Set the logging level to debug by typing: tsm configuration set -k vizqlserver.log.level -d
	4. Set the logging level to debug by typing: tsm configuration set -k vizqlserver.native_api.log.level -d
	5. Set the logging level to debug by typing: tsm configuration set -k backgrounder.log.level -d
	6. Apply pending changes by running: tsm pending-changes apply
	7. Start Tableau Server by running the following command: tsm start

To upload the collected logs to this case, please use one of the options outlined in the following article:
http://kb.tableau.com/articles/howto/alternative-method-for-sending-large-files