Qlik Community

QlikView Deployment

Discussion Board for collaboration related to QlikView Deployment.

Not applicable

Change the log folder path

HI

I want to change the path of the log folders from the existing location "C:\WINNT\Profiles\All Users\Application Data\QlikTech\QvWebServer" to a new location

I am able to change the path for other services like publisher, distribution service,directory service, server by specifying the path in the config files but unable to do so for Qv Web server

Can anybody help me on how to do this in case of Qvwebserver

Thanks

Peter

8 Replies
fernandotoledo
Valued Contributor

Change the log folder path

Can´t you do it trhough the enterprise console management?

Not applicable

Change the log folder path

Hi

thanks for the reply

i dont think so this can be done from QEMC. it allows only to change the path of the qv server log files

thanks

Peter

phersan_sme
New Contributor III

Re: Change the log folder path

are you using IIS or the native QlikView Web Server? I have found a way to change it for either. The IIS setup is a bit more involved though.

Changing QlikView Web Server log files


By default the QlikView WebServer logs are stored in

Windows Server 2008 – C:\ProgramData\QlikTech\WebServer\

Windows Server 2003 – C:\Documents and Settings\All Users\Application Data\QlikTech\WebServer\

QlikView WebServer

  1. To change the default directory when using the QlikView WebServer
    1. Goto C:\Program Files\QlikView\Server\Web Server\
    2. In the directory above, create a file called QVWebServer.exe.config
    3. Paste the following code to your new config file:

<?xmlversion="1.0" encoding="utf-8"?>

<configuration>

  <appSettings>

    <!-- Defaults to %PROGRAMDATA%\QlikTech\WebServer -->

    <addkey="ApplicationDataFolder" value="NEW LOCATION" />

  </appSettings>

</configuration>


  1. Replace NEW LOCATION with a directory you have created for the new log files.
  2. Copy the existing config.xml file in C:\ProgramData\QlikTech\WebServer\ or C:\Documentsand Settings\All Users\Application Data\QlikTech\WebServer\ to your NEW LOCATION (this config.xml file contains important configurations of your Web Server that you have already made)
  3. Restart all of your QlikView services and ensure that new log files are being created in the new location.

IIS WebServer

  1. To change the default directory when using the IIS Webserver
    1. Go to C:\Program Files\QlikView\Server\QlikViewClients\QlikViewAjax\
    2. In the directory above, edit the file called web.config
    3. Find the tag called <appSettings/>, and replace it with the following code:

<appSettings>

  <!-- Defaults to %PROGRAMDATA%\QlikTech\WebServer -->

  <add key="ApplicationDataFolder" value="NEW LOCATION" />

</appSettings>

Note: The <appSettings/> tag is an empty tag. It is different from the</appSettings> closing tag. Replace the empty tag with the proper code above that includes the open tag and the close tag for <appSettings></appSettings>.

  1. Replace NEW LOCATION with a directory you have created for the new log files.
  2. Copy the existing config.xml file in C:\ProgramData\QlikTech\WebServer\ or C:\Documentsand Settings\All Users\Application Data\QlikTech\WebServer\ to your NEW LOCATION (this config.xml file contains important configurations of your Web Server that you have already made)
  3. Restart all of your QlikView services and ensure that new log files are being created in the new location.
danielrozental
Honored Contributor II

Re: Change the log folder path

Here is a nice tip that Stephen Redmond posted here a few days ago.

You could use the same idea to change the webserver logs if necessary.

http://qliktips.blogspot.com/2012/02/move-your-qliktech-programdata-folder.html

http://community.qlik.com/thread/47157

Not applicable

Re: Change the log folder path

Hi,

i got the info from QV service desk, that we loose support if we change C:\ProgramData/QlikTech to another folder / drive.

danielrozental
Honored Contributor II

Re: Change the log folder path

Bill, can you please confirm this?

Employee
Employee

Re: Change the log folder path

Hi Daniel,

I talked to all the guys in the US and they said that if they change the path through the configuration files it shouldn't be an issue. However, if they move the Program Data folder it isn't support. Meaning they will not trouble shot any issues.

Bill

danielrozental
Honored Contributor II

Re: Change the log folder path

ok, thanks for the clarification Bill.