Make it possible to store different log entry types for different periods of time

related to https://github.com/cargomedia/sk/pull/273