Forum

Double logs for monitor?

woftor
23 December 2015, 13:56
I have monitor running and it seems to run fine.

In my hiawatha.conf:

...
MonitorServer = 127.0.0.1
...
VirtualHost {
Hostname = monitor.mywebsite.org
WebsiteRoot = /path/to/monitor/public
StartFile = index.php
AccessLogfile = /var/log/hiawatha/monitor/access.log
ErrorLogfile = /var/log/hiawatha/monitor/error.log
UseFastCGI = PHP5
TimeForCGI = 15
UseToolkit = monitor
RequireSSL = yes
}


There are logs in /var/log/hiawatha/monitor/ like stated in the conf file... but there are also monitor logs in /var/log/hiawatha (one dir down) like imonitor-access.log and monitor-error.log. The content is different: the logs in /var/log/hiawatha only has entries refering to 127.0.0.1... So question: is it possible to put these last logs also in a seperate directory (preferably /var/log/hiawatha/monitor)? I cannot find a config-entry for that.



Hugo Leisink
23 December 2015, 16:40
The files in /var/log/hiawatha are actual logfiles. The ones in /var/lib/hiawatha/monitor (*.gz) contain the collected statistical information. The location of the logiles cannot be changed. Because they don't contain any useful information, I will remove them for the next release.
woftor
26 December 2015, 01:08
Thanks.
This topic has been closed.