04-14-2023, 10:12 PM
Q:
Please kindly tell me how to disable:
1) Ehcp Logs
2) Apache error logs
3) Access logs
The files are being generated too often and it become too big...
I am using Debian lenny 5
thank you so much, i have already recommended to 3 friends EHCP today on my forum
Answer:
1- ehcp logs:
open /etc/init.d/ehcp with an editor
replace line (in ehcp_start function):
nohup /etc/init.d/ehcp_daemon.py >> /var/log/ehcp.log 2>&1 &
with:
nohup /etc/init.d/ehcp_daemon.py >> /dev/null 2>&1 &
save,
then, restart ehcp with: /etc/init.d/ehcp restart
2- apache logs (access and error):
open apachetemplate file,
delete all lines with CustomLog statement.
save it.
ehcp->options->sync domains.
done.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Please kindly tell me how to disable:
1) Ehcp Logs
2) Apache error logs
3) Access logs
The files are being generated too often and it become too big...
I am using Debian lenny 5
thank you so much, i have already recommended to 3 friends EHCP today on my forum
Answer:
1- ehcp logs:
open /etc/init.d/ehcp with an editor
replace line (in ehcp_start function):
nohup /etc/init.d/ehcp_daemon.py >> /var/log/ehcp.log 2>&1 &
with:
nohup /etc/init.d/ehcp_daemon.py >> /dev/null 2>&1 &
save,
then, restart ehcp with: /etc/init.d/ehcp restart
2- apache logs (access and error):
open apachetemplate file,
delete all lines with CustomLog statement.
save it.
ehcp->options->sync domains.
done.
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.