Updated custom logger to use a named pipe