KNOWLEDGE BASE

How to Enable Apache Debug Logging


Published: 17 Apr 2018
Last Modified Date: 15 Jan 2021

Question

How to Enable Apache Debug Logging.

Environment

  • Tableau Server
  • Windows Server

Answer

Follow the steps below:

1.  Locate the httpd.conf.templ file
  • Default Location:  C:\Program Files\Tableau\Tableau Server\packages\templates.<Version>\httpd.conf.temp
2.  Search for lines like the below:
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel notice
3.  Change the value "notice" to "debug" (without quotes)

4.  Locate the httpd.conf file
  • Default Location:  C:\ProgramData\Tableau\Tableau Server\data\tabsvc\gateway_<version>
5.  Search for lines like the below:
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel notice
6.  Change the value "notice" to "debug" (without quotes)

7.  Restart (pre-tsm) Tableau Server:
  • tabadmin restart
8.  Restart (tsm) Tableau Server:
  • tsm restart


NOTE: To disable Debug logging, change both of the above values back to "notice" (without the quotes) and restart Tableau Server.

Additional Information

Occasionally Tableau Support will request Apache Debug logging information. 

Debug logging can impact the performance of Tableau Server and should only be enabled when requested to do so by Tableau Technical Support.

Discuss this article... Feedback Forum
Did this article resolve the issue?