|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a large number of websites that are mounted over nfs.
Everything works, apart from the logging. I would like to be able to get real time (or near real time) access logging. Since multiple apache instances cannot write to the same log file, I have the following options: 1. vlogger Write to individual log files then combine them all later. Very low number of open files 2. syslog-ng Log over a tcp syslog-ng connection to a central host 3. Something else? Number 2 seems the best way. Can anyone offer any more suggestions? Thanks a lot in advance. |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Wed, 13 Jul 2005 07:41:11 -0700, manchmal wrote:
> I have a large number of websites that are mounted over nfs. > Everything works, apart from the logging. > > I would like to be able to get real time (or near real time) access > logging. > Try logging to a database.. there used to be a mod_log_mysql or suchlike... -- Dave Abbott, UNIX SysAdmin | Department of Computer Science | http://www.dcs.shef.ac.uk/ The University of Sheffield | |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Wed, 13 Jul 2005 07:41:11 -0700, manchmal wrote:
> I have a large number of websites that are mounted over nfs. > Everything works, apart from the logging. > > I would like to be able to get real time (or near real time) access > logging. > Try logging to a database.. there used to be a mod_log_mysql or suchlike... -- Dave Abbott, UNIX SysAdmin | Department of Computer Science | http://www.dcs.shef.ac.uk/ The University of Sheffield | |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Thanks for this.
Unfortunately the log files need to stay in text format for this. |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Thanks for this.
Unfortunately the log files need to stay in text format for this. |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
On 14 Jul 2005 08:05:04 -0700, manchmal@gmail.com wrote:
>Thanks for this. >Unfortunately the log files need to stay in text format for this. I'm curious why syslog-ng is fine but not the database solution. Sure, syslog-ng dumps to a text file, but you could do the same with a database solution using a script. Since syslog-ng isn't going to create normal Apache log files you still will need to do some kind of file massasing I think. Just curious.. |
|
![]() |
| Outils de la discussion | |
|
|