<commit_before>var log4js = require('log4js');
var logger = log4js.getLogger('BOT-LOG');

function updateUserList(dyDB, table, userId, cb) {

	dyDB.putItem({
		"TableName": table,
		"Item": {
			"user_id": {"S": userId.toString()}
		}
	}, function(err, result) {

		if(err){
			cb(err, null);
			return;
		}
		
		result['userId'] = userId;

		cb(null, result);
	});
}

module.exports = {
	updateUserList: updateUserList
}
<commit_msg>Remove logger as not use<commit_after>function updateUserList(dyDB, table, userId, cb) {

	dyDB.putItem({
		"TableName": table,
		"Item": {
			"user_id": {"S": userId.toString()}
		}
	}, function(err, result) {

		if(err){
			cb(err, null);
			return;
		}

		result['userId'] = userId;

		cb(null, result);
	});
}

module.exports = {
	updateUserList: updateUserList
}

{'fraction_non_alphanumeric': 0.18204488778054864, 'fraction_numerical': 0.003740648379052369, 'mean_word_length': 3.95679012345679, 'pattern_counts': {'":': 8, '<': 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': '2433278', 'n_tokens_mistral': 338, 'n_tokens_neox': 311, 'n_words': 60}