log now checks if logger is runnning