added error dump and dump to console when the keep_logs is 0
version bump