show log automatically