The log is printed as json, so file extension should be .json, no need for dir and file when using Console