Made logs persist across restarts