|
View:
New views
10 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
|
|
|
Re: [gnu.org #429351] Access statistics for SavannahOn Wed, Jun 24, 2009 at 11:16 PM, Ward Vandewege via RT<sysadmin@...> wrote:
>> - Can the copying task be automated? > > Sure. > > I can set up such a cron job if you want. Fine. Could you copy a couple of log files from www.nongnu.org to sv.nongnu.org, for testing purposes? Directory is /vservers/vcs-noshell/var/log/apache2/www.nongnu.org Thanks, Alex. |
|
|
Re: [gnu.org #429351] Access statistics for SavannahOn Wed, Jun 24, 2009 at 11:16 PM, Ward Vandewege via RT<sysadmin@...> wrote:
>> - Can the copying task be automated? > > Sure. > > I can set up such a cron job if you want. Fine. Could you copy a couple of log files from www.nongnu.org to sv.nongnu.org, for testing purposes? Directory is /vservers/vcs-noshell/var/log/apache2/www.nongnu.org Thanks, Alex. |
|
|
[gnu.org #429351] Access statistics for Savannah> [alejandrofer@... - Sat Jun 27 08:22:15 2009]:
> > On Wed, Jun 24, 2009 at 11:16 PM, Ward Vandewege via > RT<sysadmin@...> wrote: > >> - Can the copying task be automated? > > > > Sure. > > > > I can set up such a cron job if you want. > > Fine. Could you copy a couple of log files from www.nongnu.org to > sv.nongnu.org, for testing purposes? Directory is > /vservers/vcs-noshell/var/log/apache2/www.nongnu.org Sorry - this ticket got buried and then overlooked :/ I've now copied all our old logfiles for nongnu.org to /vservers/vcs-noshell/var/log/apache2/www.nongnu.org I have installed a cron job that will copy the previous days files every day, after log rotation. I've created a new user on savannah for this purpose, with name nongnulogcopy. You will see there are 4 files for every day: nongnu-access.log.1 nongnu-error.log.1 nongnu-projects.log.1 nongnu-projects-error.log.1 The first 2 catch all access to (www.)nongnu.org/. The latter 2 files catch all access to *.nongnu.org. I think those nongnu-projects files will probably not be very useful because they don't log which hostname the access is from. If you want, I can add a field to those files for that purpose. Let us know. OK? Thanks, Ward. -- Ward Vandewege <ward@...> Free Software Foundation - Senior System Administrator |
|
|
Re: [gnu.org #429351] Access statistics for SavannahHi Ward,
On Mon, Sep 28, 2009 at 6:41 PM, Ward Vandewege via RT <sysadmin@...> wrote: > Sorry - this ticket got buried and then overlooked :/ I was thinking of pinging you again -- thanks for being faster. > I have installed a cron job that will copy the previous days files every > day, after log rotation. I've created a new user on savannah for this > purpose, with name nongnulogcopy. Most useful. > You will see there are 4 files for every day: > > nongnu-access.log.1 > nongnu-error.log.1 > nongnu-projects.log.1 > nongnu-projects-error.log.1 > > The first 2 catch all access to (www.)nongnu.org/. The latter 2 files > catch all access to *.nongnu.org. Due to my (immense) ignorance I didn't even know that projects can be reached from project.nongnu.org! > I think those nongnu-projects files will probably not be very useful > because they don't log which hostname the access is from. If you want, I > can add a field to those files for that purpose. Let us know. I think it would be nice. If you are sure about some format that awstat likes just do it; otherwise let me look into it. It would seem that some projects prefer http://www.nongnu.org/project and others http://project.nongnu.org/ with a majority in the first group. In my case I used the first option due to ignorance (the second is much cleaner); perhaps it can be extrapolated to others. > OK? Great. Now as soon as I have some time, let's start awstating those logs! Alex. |
|
|
Re: [gnu.org #429351] Access statistics for SavannahHi Ward,
On Mon, Sep 28, 2009 at 6:41 PM, Ward Vandewege via RT <sysadmin@...> wrote: > Sorry - this ticket got buried and then overlooked :/ I was thinking of pinging you again -- thanks for being faster. > I have installed a cron job that will copy the previous days files every > day, after log rotation. I've created a new user on savannah for this > purpose, with name nongnulogcopy. Most useful. > You will see there are 4 files for every day: > > nongnu-access.log.1 > nongnu-error.log.1 > nongnu-projects.log.1 > nongnu-projects-error.log.1 > > The first 2 catch all access to (www.)nongnu.org/. The latter 2 files > catch all access to *.nongnu.org. Due to my (immense) ignorance I didn't even know that projects can be reached from project.nongnu.org! > I think those nongnu-projects files will probably not be very useful > because they don't log which hostname the access is from. If you want, I > can add a field to those files for that purpose. Let us know. I think it would be nice. If you are sure about some format that awstat likes just do it; otherwise let me look into it. It would seem that some projects prefer http://www.nongnu.org/project and others http://project.nongnu.org/ with a majority in the first group. In my case I used the first option due to ignorance (the second is much cleaner); perhaps it can be extrapolated to others. > OK? Great. Now as soon as I have some time, let's start awstating those logs! Alex. |
|
|
[gnu.org #429351] Access statistics for SavannahHi Alex, > [alejandrofer@... - Mon Sep 28 19:46:22 2009]: > Due to my (immense) ignorance I didn't even know that projects can be > reached from project.nongnu.org! I don't think that form is used very much, for whatever reason. Perhaps it is undocumented... > > I think those nongnu-projects files will probably not be very useful > > because they don't log which hostname the access is from. If you > want, I > > can add a field to those files for that purpose. Let us know. > > I think it would be nice. If you are sure about some format that > awstat likes just do it; otherwise let me look into it. I modified the log format to: CustomLog /var/log/apache2/nongnu-projects.log "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" It shouldn't be hard to make awstats do the right thing with that by telling it which fields are which. > Great. Now as soon as I have some time, let's start awstating those > logs! Sounds good. Note that I made a change to the cron script that runs on nadesico, it will now dump all log files into the same directory but with names like the following, so as not to overwrite older files: nongnu-projects-error.log.20090929 etc. Thanks, Ward. -- Ward Vandewege <ward@...> Free Software Foundation - Senior System Administrator |
|
|
Re: [gnu.org #429351] Access statistics for SavannahHi Ward,
On Wed, Sep 30, 2009 at 11:23 PM, Ward Vandewege via RT <sysadmin@...> wrote: >> [alejandrofer@... - Mon Sep 28 19:46:22 2009]: >> Due to my (immense) ignorance I didn't even know that projects can be >> reached from project.nongnu.org! > > I don't think that form is used very much, for whatever reason. Perhaps > it is undocumented... The homepage link on Savannah certainly points to www.nongnu.org/project. I don't know what is better... with project.nongnu.org you save 4 characters. > I modified the log format to: > > CustomLog /var/log/apache2/nongnu-projects.log "%v %h %l %u %t \"%r\" > %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > > It shouldn't be hard to make awstats do the right thing with that by > telling it which fields are which. Thanks again. > Sounds good. Note that I made a change to the cron script that runs on > nadesico, it will now dump all log files into the same directory but > with names like the following, so as not to overwrite older files: > > nongnu-projects-error.log.20090929 Much better. Thank bog for ISO date format! Alex. |
|
|
Re: [gnu.org #429351] Access statistics for SavannahHi Ward,
On Wed, Sep 30, 2009 at 11:23 PM, Ward Vandewege via RT <sysadmin@...> wrote: >> [alejandrofer@... - Mon Sep 28 19:46:22 2009]: >> Due to my (immense) ignorance I didn't even know that projects can be >> reached from project.nongnu.org! > > I don't think that form is used very much, for whatever reason. Perhaps > it is undocumented... The homepage link on Savannah certainly points to www.nongnu.org/project. I don't know what is better... with project.nongnu.org you save 4 characters. > I modified the log format to: > > CustomLog /var/log/apache2/nongnu-projects.log "%v %h %l %u %t \"%r\" > %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" > > It shouldn't be hard to make awstats do the right thing with that by > telling it which fields are which. Thanks again. > Sounds good. Note that I made a change to the cron script that runs on > nadesico, it will now dump all log files into the same directory but > with names like the following, so as not to overwrite older files: > > nongnu-projects-error.log.20090929 Much better. Thank bog for ISO date format! Alex. |
| Free embeddable forum powered by Nabble | Forum Help |