Indeed! Coll then I'm in favor of adding the session I'd in the default log format. I think that can be added to dancer 1 as well. Now you need more deva to agree and come to a consensus :) A pull request would be even better :) Le lundi 24 septembre 2012 à 12:13, Stefan Hornburg (Racke) a écrit :
On 09/24/2012 12:08 PM, Damien Krotkine wrote:
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
Dancer::Session::Abstract has an id attribute, this should be good enough for our purpose.
Regards Racke
-- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team