[clo-devel] Putting statistics back into service.

Jean-Claude Beaudoin jcb.lisp at gmail.com
Tue Jun 28 20:17:13 UTC 2011


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 <hans.huebner at gmail.com>

> 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
> <jcb.lisp at gmail.com> 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
> > clo-devel at common-lisp.net
> > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
> >
> >
>
> _______________________________________________
> clo-devel mailing list
> clo-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/clo-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/clo-devel/attachments/20110628/507b9b80/attachment.html>


More information about the clo-devel mailing list