Commit Graph

7 Commits

Author SHA1 Message Date
Ingo Oppermann
68cb1b1bda Allow negative persist interval in order to avoid collecting and storing session history 2023-12-04 16:18:07 +01:00
Ingo Oppermann
24be6a4bc5 Fix erroring out on defect session history file
Instead of throwing an error and refusing to register a collector
the defect history file is renamed and the session history is
started from scratch.
2023-09-21 10:31:05 +02:00
Ingo Oppermann
a03b38c4a6 Fix restoring empty session history 2023-07-19 16:25:27 +02:00
Ingo Oppermann
69e264f22c Don't expose Stop() on collector, allow to close a session explicitely 2023-06-21 13:21:25 +02:00
Ingo Oppermann
d3eed2a417 Allow to log each finished session to filesystem
By providing CORE_SESSIONS_SESSION_LOG_PATH_PATTERN (e.g. "/log/%Y-%m-%d.log") all
finished sessions will be logged to a file according to the provided strftime-pattern. The
actual value is calculated from when the session closed. CORE_SESSIONS_PERSIST must
be set. Default: not set.

Set CORE_SESSIONS_SESSION_LOG_BUFFER_SEC to the number of seconds the log should be
buffered in memory before persisted to disk. Default 15 seconds.
2023-06-20 15:19:25 +02:00
Ingo Oppermann
2a3288ffd0 Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00
Jan Stabenow
9c0b535199 Add v16.7.2 2022-05-13 19:26:45 +02:00