Log script trace