using subprocess for cache flush
app logger is configured if not debug.