One of the really nice thing about Gentoo is that usually stuff is installed with reasonable defaults: You do not have to tweak them to get the program working. modlogan is not in that category. Modlogan forces you to configure it before it works. This makes it harder to install as you will need to understand how modlogan works - even if what you want to do is a simple web analyser. A simple, reasonable default would be nice. Reproducible: Always Steps to Reproduce:
Sebastian, I'll need your help on this one. I know nothing about modlogan
Me neither, sorry. I only know Jan, the author of ModLogAn, and wanted to try it but ran into trouble when using the version portage.
the question is: how would a sane default configuration look like ? one possible solution would be - create a folder named (eg.) /etc/modlogan.d - a directory somewhere where we can put the created html files and stuff into (somewhere under /var/www/ would be perfect :) and every service modlogan has a parser for could put a default configuration file under /etc/modlogan.d/ (like apache modules do...) a cron script: for i in /etc/modlogan.d/*; do modlogan -c $i done would create the stats for every service...
i'm creating some sample default config files now wil have to check what's the most sane way to organize this stuff...
When you release a new ebuild, please remove the virtual/x11 dependency. It isn't needed. Roman
Created attachment 21988 [details] updated modlogan ebuild
Created attachment 21989 [details] new sample.conf
Created attachment 21990 [details] new sample.def.conf
Created attachment 21991 [details] updated modlogan ebuild
Created attachment 21992 [details] updated apache config for modlogan
finally ... here it is, the updated modlogan ebuild sample configuration has been updated and is now kept under ${FILESDIR}/${PV}/ modlogan now has a X use flag, which en-/disables X11 support logs are put into /home/httpd/modlogan any comments ?
only one comment, I think /home/httpd is deprecated in gentoo now. I think we've moved to the /var/www layout, but I'd like someone from the web-apps team confirm all this.
ok, will change it, if /var/www is the right place (?)
modlogan-0.8.10-r1 is in the tree now (currently ~x86)