<commit_before>var express = require('express');
var morgan = require('morgan');

var app = express();
app.use(morgan('combined'));

app.get('/', function (req, res) {
    res.send('Backend API root');
});

app.get('/secure', function (req, res) {
    res.json({
        message: 'This endpoint needs to be secure.'
    });
});

var server = app.listen(5000, function () {
    var host = server.address().address;
    var port = server.address().port;

    console.log('App listening at http://%s:%s', host, port);
});
<commit_msg>Log Authorization header in backend service<commit_after>var express = require('express');
var morgan = require('morgan');

var app = express();
app.use(morgan('combined'));

app.get('/', function (req, res) {
    res.send('Backend API root');
});

app.get('/secure', function (req, res) {
    console.log('Authorization header:', req.get('Authorization'));

    res.json({
        message: 'This endpoint needs to be secure.'
    });
});

var server = app.listen(5000, function () {
    var host = server.address().address;
    var port = server.address().port;

    console.log('App listening at http://%s:%s', host, port);
});

{'fraction_non_alphanumeric': 0.1920757967269595, 'fraction_numerical': 0.0068906115417743325, 'mean_word_length': 3.841666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2190786', 'n_tokens_mistral': 364, 'n_tokens_neox': 358, 'n_words': 98}