add turn off connection logging
add turn off connection logging
Line 1: Line 1:
== npm lite-server related ==
=== turn off connection logging ===
Setting logConnection to false in bs-config.json did not work. The connection is logged by a middleware called connect-logger and you can disable it by creating <span class="package">bs-config.json</span> with the following content.
<source lang="json">
{
        "middleware": {
                "0": null
        }
}
</source>
== Event ==
== Event ==