Added session name to logfile name

bug/bundler_fix
Dirkjan Mollema 2017-06-23 13:26:36 +02:00
parent 24379f907e
commit 03b36757e4
1 changed files with 2 additions and 1 deletions

View File

@ -214,8 +214,9 @@ module Session
dstr = sprintf("%.4d%.2d%.2d", dt.year, dt.mon, dt.mday)
rhost = session_host.gsub(':', '_')
sname = name.to_s.gsub(/\W+/,'_')
"#{dstr}_#{rhost}_#{type}"
"#{dstr}_#{sname}_#{rhost}_#{type}"
end
#