--- Log opened Wed May 27 00:00:22 2009
09:19 < kristofer> there's this weird bug, I can't upgrade HStringTemplate with cabal because it can't find Data.Generics.Aliases
09:19 < kristofer> 'it was found in multiple packages'
09:19 < dcoutts> kristofer: try with --preference='base >= 4'
09:20 < dcoutts> it's a bug in the HStringTemplate package spec
09:20 < dcoutts> it claims it works with base 3, but it's wrong
09:23 < kristofer> dcoutts, --preference is an unrecognized cabal option?
09:28 < dcoutts> kristofer: oh I guess you're using cabal version 0.6 ? you can install version 0.6.2
12:39 < mightybyte> Has anyone used the simpleHTTP logging?
12:51 < mightybyte> I'm having trouble getting it working with 0.2.1.
13:58 < jmcarthur_work> mightybyte, what's that?
13:59  * jmcarthur_work checks irc logs online
13:59 < jmcarthur_work> oh simpleHTTP logging
13:59 < jmcarthur_work> i've not used it before. wouldn't know
13:59 < jmcarthur_work> n/m then
16:36 < gcollins> mightybyte: I've used simpleHTTP logging
16:37 < gcollins>     webHandler       <- betterFileHandler    "log/access.log"    INFO
16:37 < gcollins>     updateGlobalLogger "Happstack.Server.AccessLog.Combined"
16:37 < gcollins>                        (setLevel INFO . setHandlers [webHandler])
16:38 < gcollins> use "fileHandler" instead of "betterFileHandler" -- that's something I wrote (to facilitate log rotation via logrotate, it closes the file periodically)
17:13 < mightybyte> gcollins: Ok, thanks.  "Happstack.Server.AccessLog.Combined" is what I was looking for.
17:14 < gcollins> np
17:55 < mightybyte> gcollins: When I do that, the combined logs are sent to the file, but also to the console.  How do I stop them from going to the console?
17:55 < gcollins> are you using setHandlers?
17:55 < gcollins> or just adding the file handler?
17:56 < mightybyte> setHandlers
18:04 < mightybyte> Are the Happstack.Server.AccessLog.Combined log messages also getting passed up to the root logger?
18:10 < mightybyte> I tried "updateGlobalLogger rootLoggerName (setLevel CRITICAL)", but I still get the messages on the console.
18:41 < mightybyte> I'm also using another logger "Abc.Def" in my app, and that one isn't going to the console.
--- Log closed Thu May 28 00:00:59 2009