On Jun 8, 2014 4:01 PM, "Fred Toth" <ft...@synernet.com> wrote: > > Hi, > > This feature is in the doc since at least tomcat 5. I'm using tomcat 7.0.47 and I just tried to add the user session id to the access log by adding "%S" to the pattern attribute. However, it's not working. All I'm getting is "-" in the log.
Have to ask, but are you sure that the request has an active session? Usually when you see "-" it means the value is absent for that request. > > Is there some trick to this? I haven't found anything online or in bugzilla. Also posted to stack overflow: Not aware of any tricks. AccessLogValve is pretty straightforward. Is the rest of the log record correct? Dan > > http://stackoverflow.com/questions/24110188/cant-configure-tomcat-access-log-session-id-with-s > > Thanks, > Fred > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >