Re: Putting statistics back into service.

Jean-Claude Beaudoin <[email protected]>
Newsgroups gmane.lisp.common-lisp-net.devel
Message-ID <[email protected]>
All I need for http stats is, as I stated in my original message, to be able
to modify the cron scripts /etc/cron.d/cl-net plus /custom/bin/
cron.root.http_stats.sh and most probably be able to read the content of
/var/log/apache2.

What is needed, I think, is to apply the following two tiny patches:

$ diff /etc/cron.d/cl-net ~/cl-net
10c10
< # 12 00 * * * root /custom/bin/cron.root.http_stats.sh
---
> 12 00 * * * root /custom/bin/cron.root.http_stats.sh
$ diff /custom/bin/cron.root.http_stats.sh ~/cron.root.http_stats.sh
8c8
< LOG_FILE=/var/log/apache/access.log
---
> LOG_FILE=/var/log/apache2/access.log

I'll have to investigate more for the rsync stats...

Cheers,

Jean-Claude Beaudoin


2011/6/28 Hans Hübner <[email protected]>

> Jean-Claude,
>
> thank you for your offer to help.  What files do you need access to?
> I do not know how the statistics worked, but I guess that some of the
> mechanism is stored in /custom/bin - Can you check and let us know
> what you need to change?
>
> Thanks again!
> Hans
>
> On Mon, Jun 27, 2011 at 2:14 AM, Jean-Claude Beaudoin
> <[email protected]> wrote:
> > Hello common-lisp.net admins,
> >
> > I would like to propose my services to put back into service the download
> > statistics that used to be available on the "stats" page before the
> machine
> > upgrade.
> >
> > The currently available files date back to May 7, about 7 weeks ago.
> >
> > I already have an account on common-lisp.net for my MKCL and CL+J
> projects.
> > My user name is: jcbeaudoin
> >
> > So I guess that a simple change in its group memberships is all that is
> > needed to give me the required access to do the work (ie: modify the cron
> > script and maybe read the content of /var/log/apache2).
> >
> > Cheers,
> >
> > Jean-Claude Beaudoin
> >
> >
> >
> > _______________________________________________
> > clo-devel mailing list
> > [email protected]
> > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
> >
> >
>
> _______________________________________________
> clo-devel mailing list
> [email protected]
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
>

_______________________________________________
clo-devel mailing list
[email protected]
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.