log storage for localStorage