puffin

Member
Aug 30, 2006
10
0
151
I recently attempted to check a client's raw FTP log from several days ago, only to discover the log was empty.

Upon investigating, I realized Tweak Settings>Stats and Logs>'Delete each domain's access logs after stats run' had been enabled. My stats run each day, thus I concluded that my client logs were being deleted each day.

I unchecked this box and after one day all client logs for the past day are now available.

My question: If I leave this option unchecked, will my logs continue to grow indefinitely?

While my daily FTP logs are rather small, my daily raw access logs are quite large and will soon take up too much disk space.

Is there a better solution for retaining only my FTP logs and not my raw access logs?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
I recently attempted to check a client's raw FTP log from several days ago, only to discover the log was empty.

Upon investigating, I realized Tweak Settings>Stats and Logs>'Delete each domain's access logs after stats run' had been enabled. My stats run each day, thus I concluded that my client logs were being deleted each day.

I unchecked this box and after one day all client logs for the past day are now available.

My question: If I leave this option unchecked, will my logs continue to grow indefinitely?

While my daily FTP logs are rather small, my daily raw access logs are quite large and will soon take up too much disk space.

Is there a better solution for retaining only my FTP logs and not my raw access logs?
In this scenario, the logs will still be rotated on a monthly basis. If this is insufficient for your needs, please let me know.
 

puffin

Member
Aug 30, 2006
10
0
151
Thanks, David, but I now see there's a better solution than using disk space to view FTP logs: search the message logs via shell access for a particular account's activity.

grep [account_name] /var/log/messages | more

Please correct me if I'm wrong, but it appears the most recent log messages are found in /var/log/messages, then archived chronologically (messages.1, messages.2, messages.3, messages.4).

Four weeks worth of logs is more than enough.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Thanks, David, but I now see there's a better solution than using disk space to view FTP logs: search the message logs via shell access for a particular account's activity.

grep [account_name] /var/log/messages | more

Please correct me if I'm wrong, but it appears the most recent log messages are found in /var/log/messages, then archived chronologically (messages.1, messages.2, messages.3, messages.4).

Four weeks worth of logs is more than enough.
Correct, chronologically with .1 being the most recent archive.
 
Thread starter Similar threads Forum Replies Date
E File Management 5
Radio_Head File Management 0
Radio_Head File Management 1
N File Management 4
M File Management 4