Can't find apache logs on virtualmin UI, on Logs and Reports

Hi every1,
Im new on virtualmin and when I try to check the apache logs I have to log in in to the bash terminal and check for the logs there.

I don’t know why apache logs are not shown under Logs and Reports. Only showing:

  • AWstats Configuration
  • AWstats Report
  • Logged Webmin Actions
  • Webalizer Report.

I want to see the logs from the UI.

Thanks for the help

You can expand that logs yourself with the +add button in same GUI part. < webmin < system < System logs

And for virtual server themselves you should have under LOG and Reports section: apache access and error log , if not you have to check your settings/template/rights somewhere.

IF you’re new please read forum guidelines first before posting. :wink:

Example only one you didn’t post your versions…

Hi, thank you for your help.

Usermin: 1.780
Webmin: 1.932
Virtualmin: 6.08

I have the apache logs access and error enableds on Webimn - System - System logs.

Also on the virtual server template when creating a virtual server, on Settings - Server Templates - Default Settings - Administrators Webmin Modules
System logs apache, and FTP are enabled. Also they are correctly configured on Settings - Server Templates - Default Settings - Apache website.

I don’t get it, anyways now the logs are not being logged on $server_name/logs. I think i have a missconfiguration some where…

Thanks.

Maybe a caching problem somewhere. or skin / template in use you didn’t write version of that also not the OS version

I’m not able to find the problem. When I create a new virtual server, on Logs and report section there is no apache logs. However, they are logging on /var/log/virtualmin/$virtual_server. I’m a bit confussed.

For the virtualmin virtual server where this is a problem

Goto virtualmin>Edit Virtual Server>(“enabled features” i think it is)

Check to make sure that “apache website” is enabled

I am thinking that the reason the logs exist in that other location is because perhaps they are generic logs and not specific to the user (individual virtual servers)?

Yes apache is enabled on every virtual server. Something must have changed becuase I was able to see the logs some time ago.
I just realized that the logs are not visible. Don’t know what’s going on. I also checked the server templates but everything seems to be fine.

Still I can’t see the apache logs on Logs and Reports section of the virtual server

If you go with ssh can you find the log files?
https://duckduckgo.com/html?q=how%20to%20find%20apache%20log%20files

Yes but the global logs under /var/logs/virtualmin/$servername_access and /var/logs/virtualmin/$servername_error.

But on the virtualserver home /mnt/www-data/$server_name/logs, it’s empty.

Thanks for your help.

I mean on CLI comand line with SSH login the log files for domains themselves! ( docroot?? )

But try the link and some of those i gave you

Yes, With ssh on directory /var/log/virtualmin/$server_name I am able to see the logs of every single domain.

But on their home on /mnt/www-data/$server_name/logs where usually the logs for the server are stored, there are no logs.

Ok then someone knowing virtualmin for this should help you out i guess. ( i.a. not using virtualmin defaults for this)

I can’t here sorry. :wink:

I others don’t have this problem then maybe not a bug but something with config / update went wrong , so yes then it is good to find out the cause…