Um... The default is to log to the standard syslog location. If you want
different handling, then read the man page for the --use-syslog option, set
it to something unique (I use local3) and then update your log rotate
configuration to handle the local3 log...
E.g.:
# cat /etc/ntop.conf
...
-d --use-syslog=local4
# cat /etc/syslog.conf
...
# Log ntopdevel stuff
local4.* /var/log/ntopdevel
# cat /etc/logrotate.conf
...
/var/log/ntopdevel {
daily
rotate 2
notifempty
# ntop doesn't handle SIGHUP properly
copytruncate
missingok
}
That puts the messages from my development instance into a separate log
file, chops it off daily and keeps only two days worth around. If you use
another log package or a different OS, make the appropriate adjustments...
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hugo
Rebello
Sent: Monday, March 14, 2005 8:46 AM
To: [email protected]
Subject: [Ntop] Ntop Logs
Guys,
How can I delete the ntop logs ?
I am not use ntop with syslog.
Thank you.
Cheers,
Hugo
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop