Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
howto disable logs
#1
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping