If there are logs in the flush buffer when we kill traffic_server, we lose these logs. There needs to be a way for ATS to flush these logs upon receiving a signal.
The obvious way would be to call Log::flush_thread_main(..) in Main::proxy_signal_handler(..), but I highly doubt that function is signal safe.