Submitted by isdahlc on Thu, 02/03/2011 - 08:07 Pro Licensee
I noticed the log files remain after an account is deleted in VM.
-rw-rw---- 1 573 apache 534319 Jan 27 17:54 domain.com_access_log
-rw-rw---- 1 573 apache 61457 Jan 26 00:07 domain.com_error_log
-- Craig
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Thu, 02/03/2011 - 12:26 Comment #1
Which directory are these log files in?
Also, if you create a test domain and then delete it, are the logs still left behind?
Submitted by isdahlc on Thu, 02/03/2011 - 14:48 Pro Licensee Comment #2
Which directory are these log files in?
/var/log/virtualmin
Also, if you create a test domain and then delete it, are the logs still left behind?
No but I don't think these logs are created until there is web trraffic.
Submitted by JamieCameron on Thu, 02/03/2011 - 16:10 Comment #3
Logs will get created empty as soon as the domain is created. So if there is some bug that is causing them to be left behind when the domain is removed, they should still appear if you create and then delete a test domain.
Submitted by isdahlc on Thu, 02/03/2011 - 16:59 Pro Licensee Comment #4
Jamie,
I verified the logs are NOT being removed, here are the steps I followed.
-rw-rw---- 1 573 apache 1632 Feb 3 17:51 testserver.com_access_log
-rw-rw---- 1 573 apache 388 Feb 3 17:50 testserver.com_error_log
Submitted by JamieCameron on Thu, 02/03/2011 - 23:07 Comment #5
I just tested these same steps, and the logs were again properly deleted..
During the deletion process, do you see the message "Deleting Apache log files" ?
Submitted by JamieCameron on Sat, 02/05/2011 - 15:18 Comment #6
Ok, I see why this happens now - for some reason, you had a very old and obsolete option set that controls the way Apache virtual hosts are deleted. This option isn't even in the UI anymore, so I had to disable it manually by editing
/etc/webmin/virtual-server/config
and removing thedelete_indom=1
line.With that done, the problem was solved..
Submitted by JamieCameron on Sat, 02/05/2011 - 15:22 Comment #7
Ok, I see why this happens now - for some reason, you had a very old and obsolete option set that controls the way Apache virtual hosts are deleted. This option isn't even in the UI anymore, so I had to disable it manually by editing
/etc/webmin/virtual-server/config
and removing thedelete_indom=1
line.With that done, the problem was solved..
Submitted by Issues on Sat, 02/19/2011 - 17:20 Comment #8
Automatically closed -- issue fixed for 2 weeks with no activity.