<commit_before>const os = require("os");
const fs = require("fs");

class Config {
	constructor() {
		this.Version = "1";
		this.root = "/";
		this.language = "en";
		this.author = "user";
		this.authorMail = "<EMAIL>";
		this.Link = "http://127.0.0.1";
		this.Title = "My Blog";
		this.DirectoryCache = "cache";
		this.HeaderExpires = 60000 * 60; // 60 Minutes
		this.ClearCacheOnStart = false;
		this.DevMode = false; // will be set to true if process.env.NODE_ENV === "development"
		this.MaxHttpPOSTSize = 5e7; // 50 Megabyte
		this.HandleClientCacheControl = true;
		this.DefaultContentType = "text/html";
		this.ServerVersion = `node.js/${process.version}`;
		this.cache = "FsCache"; // "MemCache" | "FsCache" | "none"
		this.FileEditor = "editor.html";
		this.ApiKey = "changeme";

		this.Log = {
			Level: "Info", // "Debug", "Info", "Warn", "Error"
			File: {
				Enabled: true,<commit_msg>update example config<commit_after>const os = require("os");
const fs = require("fs");

class Config {
	constructor() {
		this.Version = "1";
		this.root = "/";
		this.language = "en";
		this.author = "user";
		this.authorMail = "<EMAIL>";
		this.Link = "http://127.0.0.1"; // no trailing slash!
		this.Title = "My Blog";
		this.DirectoryCache = "cache";
		this.HeaderExpires = 60000 * 60; // 60 Minutes
		this.ClearCacheOnStart = false;
		this.DevMode = false; // will be set to true if process.env.NODE_ENV === "development"
		this.MaxHttpPOSTSize = 5e7; // 50 Megabyte
		this.HandleClientCacheControl = true;
		this.DefaultContentType = "text/html";
		this.ServerVersion = `node.js/${process.version}`;
		this.Cache = "FsCache"; // "MemCache" | "FsCache" | "none"
		this.FileEditor = "editor.html";
		this.ApiKey = "changeme";

		this.Log = {
			Level: "Info", // "Debug", "Info", "Warn", "Error"
			File: {
				Enabled: true,
{'fraction_non_alphanumeric': 0.18107221006564553, 'fraction_numerical': 0.02188183807439825, 'mean_word_length': 3.5160493827160493, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3576324', 'n_tokens_mistral': 727, 'n_tokens_neox': 643, 'n_words': 146}