Replaced custom logger with standard logging module