Typo
Use logger to print errors
Use dap basename as a logger name to reuse later