I think that is excessive for Dancer 1. However for Dancer 2, it's very doable.
Le lundi 24 septembre 2012 à 12:16, Daniel Perrett a écrit : > Would it be better to give plugins the ability to pass arbitrary information > to the logger (or instructions for retrieving information from the plugin?) > which can be retrieved with some sort of keyword call in the logger format > like session_id, or is that excessive? > > Daniel > > > > From: Damien Krotkine <[email protected]> > To: "Stefan Hornburg (Racke)" <[email protected]> > Cc: "[email protected]" <[email protected]> > Date: 24/09/2012 11:09 > Subject: [Dancer-users] Re : Re : Session ID in logger_format > Sent by: [email protected] > > > > There is already a way to know if there is a session engine and which one it > is. However I don't know if the session id is always stored the same way in > every engines. I need to check if there is a session_id accessor in the > Session engine base class. That would be the best way to generically get it > in the logger I think > Le lundi 24 septembre 2012 à 12:01, Stefan Hornburg (Racke) a écrit : > On 09/24/2012 11:56 AM, Damien Krotkine wrote: > > I think this is useful. Is it always/easy possible to recover the session_id? > > Obviously not when there is no session engine used :) > > We could look up if session is set in the configuration - or introduce a > method > to determine whether sessions are enabled. > > Regards > Racke > > > -- > LinuXia Systems => http://www.linuxia.de/ > Expert Interchange Consulting and System Administration > ICDEVGROUP => http://www.icdevgroup.org/ > Interchange Development Team > > _______________________________________________ > Dancer-users mailing list > [email protected] > http://www.backup-manager.org/cgi-bin/listinfo/dancer-users > _______________________________________________ > Dancer-users mailing list > [email protected] > http://www.backup-manager.org/cgi-bin/listinfo/dancer-users >
_______________________________________________ Dancer-users mailing list [email protected] http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
