Re: [Catalyst] log infor using FastCGI enigine in Apache
On Tue, Nov 14, 2006 at 01:50:39PM +1030, Jon wrote: I found Catalyst::Log::Log4perl a good alternative. Unfortunately not compatible with Catalyst::Plugin::Dumper though. Yeah, dig back through the archives and you'll find mst's fair and true comment on my apalling implementation of CP::Dumper. It was a quick lazy hack, and never quite made it past there. Rewrites/patches welcome :) Chisel -- Chisel Wright e: [EMAIL PROTECTED] w: http://www.herlpacker.co.uk/ This is not an automated signature. I type this in to the bottom of every message. ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] log infor using FastCGI enigine in Apache
On Tue, 2006-11-14 at 09:31 +, Chisel Wright wrote: On Tue, Nov 14, 2006 at 01:50:39PM +1030, Jon wrote: I found Catalyst::Log::Log4perl a good alternative. Unfortunately not compatible with Catalyst::Plugin::Dumper though. Yeah, dig back through the archives and you'll find mst's fair and true comment on my apalling implementation of CP::Dumper. It was a quick lazy hack, and never quite made it past there. Rewrites/patches welcome :) Sorry, wasn't meant to be a criticism. Dumper is a great idea and works well with the out-of-the-box logger. I did look at the code and figured that you could probably get the logger class back via $c-log and then install the dumper function into the appropriate class whatever the implementation. Would have tinkered with it if I had a bit more time - instead I quickly subclassed Catalyst::Log::Log4perl and added my own dumper, which works but is equally inflexible. -- Jon ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/
Re: [Catalyst] log infor using FastCGI enigine in Apache
I found Catalyst::Log::Log4perl a good alternative. Unfortunately not compatible with Catalyst::Plugin::Dumper though. -- Jon On Tue, 2006-11-14 at 10:57 +0800, Mao DengFeng-e13751 wrote: Hi, I have made catalyst is runing in apache with FastCGI engine. It's really very fast:) But when I check the log information form apache log file. The log from FastCGI is not so beautiful like the log from catalyst standalone server. The log is hard to check. The log like this: == [Tue Nov 14 10:35:17 2006] [error] [client 10.193.100.73] FastCGI: server /home/user/Myapp/script/ezx_flex_fastcgi.pl stderr: .+---., referer: http://localhost/Myapp/wiki/a [Tue Nov 14 10:35:17 2006] [error] [client 10.193.100.73] FastCGI: server /home/user/Myapp/script/ezx_flex_fastcgi.pl stderr: | Action | Time |, referer: http://localhost/Myapp/wiki/a == How to configure and make the log from FastCGI in apache like from standalone server mode Thanks Mao Dengfeng ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/ ___ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/