Added inactive_log task
small improvement for log tasks