Session-based logging, instead of static global logging.