Can you store access logs with virtualmin/webmin and a cron job question.

4 posts / 0 new
Last post
#1 Fri, 04/13/2012 - 15:30
housemartin

Can you store access logs with virtualmin/webmin and a cron job question.

Hello

I am new to virtualmin/webmin and would like to clear a few things up before I start to use this as a control panel on my new vps.

I have been using Cpanell with shared hosting for a long time and this is my first time configuring my own VPS. I would like to try something that does not need me to pay monthly for a Cpanel licsense and I have found Virtualmin/webmin to be more that satisfactory for my needs. I am going to use this for my own sites on a vps server.

My websites are affiliate based and my affiliate company requires me to store my raw access log files each month. This is a simple thing to do in Cpanel but I would like to know please is this possible with Virtualmin/webmin. With my cpanel shared hosting I am able to store the raw access logs for each month for all addon domains on my shared hosting account in one gzipped file. Can this be done with virtualmin/webmin using addon domains?

Also am I able to use a cron job that I was using in cpanel on a virtualmi/webmin control panel?

I would like to note that I would be using the free GPL version of virtualmin/webmin and not the Pro version.

Thank you in advance for your time and help. Housemartin

Tue, 04/17/2012 - 20:36
housemartin

Can anyone please advise me with a answer to my question? Have I asked this question in the wrong section of the forum and if so please what section would be best to ask this question so I could get an appropriate response and resolution.

Thank you kindly in advance.

Tue, 04/17/2012 - 22:23
andreychek

Howdy,

The Apache logs for each domani are stored as individual files in /var/log/virtualmin.

You could tweak the log rotation schedules in /etc/logrotate.conf if you wish to change the default length that they're stored for existing domains.

For new domains, I think you can set that by going into Webmin -> System -> Log File Rotation -> Edit Global Options.

-Eric

Mon, 04/30/2012 - 07:28
housemartin

Sorry for the late reply :(

Thank you kindly Eric (andreychek) for your help and advice.

Kind Regards housemartin

Topic locked