[Catalyst] How to enhance Log4Perl log-files about the loggend in user ($c->user->id)?

2009-07-21 Thread Christoph Metz
Hi, i got a Catalyst-App which inits a session on the startpage, after a user logged sucessfully in with his login-data. Now, i also use Log4Perl to do extensive logging, as far as the app is enough tested. so i use the log4perl conf file this way: __PACKAGE__->log(Catalyst::Log::Log4perl->new(__

Re: [Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-21 Thread Christoph Metz
Tomas Doran schrieb: > > On 20 Jul 2009, at 14:40, Christoph Metz wrote: >> so, where do i have to set a "HOME" oder "PATH" var, so that i can run >> the dev server from any fs-point? > > You can use CATALYST_HOME or MYAPP_HOME (replacing MYAPP with yo

[Catalyst] how to set up $HOME or $ROOT to start myapp_server.pl via init.d script?

2009-07-20 Thread Christoph Metz
Hey guys, i want to deploy my c-app by using the dev-server myapp_server.pl. while the development i went into the dir myapp and typed script/myapp_server.pl -r -d so far, so good, but now i want to start this server via an init.d script under open-suse 9.2, so i wrote the script by using the skel