|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
logrotate.conf (remote logs)
hello,
I was wondering if anyone could give me any suggestion for creating a remote access log server. I was thinking about editing the logroate.conf... to something like: ftp://anonymous@mydomain.com/logs/access_log ftp://anonymous@mydomain.com/logs//...httpd/error_log { any thoughts, -jbuckle24 i am very new to apache admin stuff, so forgive me if this is a completely stupid idea... |
|
#2
|
|||
|
|||
|
Far too complicated. You don't need logrotate or ftp. Syslogd has this functionality built in already:
Code:
/etc/syslog.conf: *.* @loghost.mydomain.com at loghost.mydomain.com: BSD: Start syslogd without the parameter "-ss" Linux: For syslogd < V1.3, it should work by default. For syslogd >= V1.3, start it with the parameter "-r". hth, M. PS: moved to unix forums.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > logrotate.conf (remote logs) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|