Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to locate http logs subdirectory for Virtuoso?

Tags:

virtuoso

I'm writing a java client that uploads a file to Virtuoso WebDAV repository through HTTP PUT. There is a bug in my code I'm trying to fix. I want to check the log file for the WebDAV server as the bug is relating to HTTP connection reset.

I found the description of the WebDAV server configuration in the Virtuoso configuration file virtuoso.ini.

[HTTPServer]
ServerPort                  = 8890
ServerRoot                  = ../vsp
DavRoot                     = DAV
EnabledDavVSP               = 0
HTTPProxyEnabled            = 0
TempASPXDir                 = 0
DefaultMailServer           = localhost:25
MaxClientConnections        = 5
MaxKeepAlives               = 10
KeepAliveTimeout            = 10
MaxCachedProxyConnections   = 10
ProxyConnectionCacheTimeout = 15
HTTPThreadSize              = 280000
HttpPrintWarningsInOutput   = 0
Charset                     = UTF-8
;HTTPLogFile                 = logs/http.log

The last line tells the http log file should be http.log in the logs folder.

However, I searched all the places in the virtuoso installation directory, and no subdirectory called logs found in the directory.

I also tried the Virtuoso online documentation, but it doesn't help.

I'm a new user of Virtuoso, and really do not have much knowledge of it. Hope someone can help with this.

like image 747
Jane Foster Avatar asked Aug 31 '25 23:08

Jane Foster


2 Answers

Doesn't the fact that the last line starts with a semicolon mean that it is commented out? I suggest removing that and restarting Virtuoso.

like image 193
Chrs Avatar answered Sep 04 '25 07:09

Chrs


You just need to change to

HTTPLogFile = http.log

and it will create a file http.log in the same directory from where the virtuoso instance was started or where virtuoso.ini is located

like image 28
Muhammad Saleem Avatar answered Sep 04 '25 09:09

Muhammad Saleem