Write a Node.js application that listens for incoming HTTP requests and forwards them to an AWS Lambda function for processing. The application should log the request details and the Lambda response.

To create a Node.js application that listens for incoming HTTP requests and forwards them to an AWS Lambda function, you can use the Express framework along with the AWS SDK. Here's a sample implementation:

1. First, make sure you have Node.js installed on your machine. You can download it from https://nodejs.org/.

2. Create a new directory for your project and navigate to it in your terminal.

3. Run `npm init` to create a package.json file for your project. Follow the prompts to set up your project details.

4. Install the required dependencies by running:
```
npm install express aws-sdk body-parser
```

5. Create a new file named `app.js` and add the following code:

```javascript
const express = require('express');
const bodyParser = require('body-parser');
const AWS = require('aws-sdk');

// Configure AWS credentials
AWS.config.update({
  accessKeyId: 'your_access_key_id',
  secretAccessKey: 'your_secret_access_key',
  region: 'your_aws_region'
});

const lambda = new AWS.Lambda();
const app = express();

app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));

app.all('*', async (req, res) => {
  try {
    console.log(`Request received: ${req.method} ${req.url}`);
    console.log('Headers:', req.headers);
    console.log('Body:', req.body);

    const params = {
      FunctionName: 'your_lambda_function_name',
      InvocationType: 'RequestResponse',
      Payload: JSON.stringify({
        httpMethod: req.method,
        path: req.url,
        headers: req.headers,
        body: req.body
      })
    };

    const lambdaResponse = await lambda.invoke(params).promise();
    const responsePayload = JSON.parse(lambdaResponse.Payload);

    console.log('Lambda response:', responsePayload);

    res.status(responsePayload.statusCode).json(responsePayload.body);
  } catch (error) {
    console.error('Error:', error);
    res.status(500).send('An error occurred while processing the request.');
  }
});

const port = process.env.PORT || 3000;
app.listen(port, () => {
  console.log(`Server is running on port ${port}`);
});
```

Make sure to replace `your_access_key_id`, `your_secret_access_key`, `your_aws_region`, and `your_lambda_function_name` with your own AWS credentials and Lambda function name.

6. Start your application by running:
```
node app.js
```

Your Node.js application should now be listening for incoming HTTP requests on port 3000 and forwarding them to your specified AWS Lambda function. The request details and Lambda response will be logged in the console.

Note: This example assumes that your Lambda function can handle the input format provided in the `Payload` parameter of the `invoke()` call. You may need to adjust this format based on your specific Lambda function's requirements.