log application quit