Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33782 - modlogan does not work out of the box
Summary: modlogan does not work out of the box
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Stefan Knoblich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 13:53 UTC by Ole Tange
Modified: 2003-12-17 16:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated modlogan ebuild (modlogan-0.8.10-r1.ebuild,2.87 KB, text/plain)
2003-12-10 12:17 UTC, Stefan Knoblich (RETIRED)
Details
new sample.conf (sample.conf,2.36 KB, text/plain)
2003-12-10 12:17 UTC, Stefan Knoblich (RETIRED)
Details
new sample.def.conf (sample.def.conf,11.32 KB, text/plain)
2003-12-10 12:18 UTC, Stefan Knoblich (RETIRED)
Details
updated modlogan ebuild (modlogan-0.8.10-r1.ebuild,2.87 KB, text/plain)
2003-12-10 12:24 UTC, Stefan Knoblich (RETIRED)
Details
updated apache config for modlogan (modlogan.conf,218 bytes, text/plain)
2003-12-10 12:25 UTC, Stefan Knoblich (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2003-11-18 13:53:00 UTC
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:
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-11-19 12:39:03 UTC
Sebastian, I'll need your help on this one. I know nothing about modlogan
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2003-11-19 13:21:46 UTC
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.
Comment 3 Stefan Knoblich (RETIRED) gentoo-dev 2003-11-20 10:51:09 UTC
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...

 
Comment 4 Stefan Knoblich (RETIRED) gentoo-dev 2003-11-27 10:35:57 UTC
i'm creating some sample default config files now
wil have to check what's the most sane way to organize this stuff...
Comment 5 Roman Weber 2003-12-01 08:18:41 UTC
When you release a new ebuild, please remove the virtual/x11 dependency.
It isn't needed.
Roman
Comment 6 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-10 12:17:19 UTC
Created attachment 21988 [details]
updated modlogan ebuild
Comment 7 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-10 12:17:47 UTC
Created attachment 21989 [details]
new sample.conf
Comment 8 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-10 12:18:10 UTC
Created attachment 21990 [details]
new sample.def.conf
Comment 9 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-10 12:24:51 UTC
Created attachment 21991 [details]
updated modlogan ebuild
Comment 10 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-10 12:25:24 UTC
Created attachment 21992 [details]
updated apache config for modlogan
Comment 11 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-10 12:25:51 UTC
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 ?
Comment 12 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-10 12:49:25 UTC
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.
Comment 13 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-10 13:20:09 UTC
ok, will change it, if /var/www is the right place (?)
Comment 14 Stefan Knoblich (RETIRED) gentoo-dev 2003-12-17 16:55:18 UTC
modlogan-0.8.10-r1 is in the tree now (currently ~x86)