We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b413b1 commit cc81c99Copy full SHA for cc81c99
server.js
@@ -52,7 +52,7 @@ function deploy(config, ready) {
52
request.on('end', () => {
53
if (config.log !== "") {
54
let now = config.logTime ? `[${formatTime.format(new Date())}] ` : '';
55
- fs.writeFileSync(config.log, `${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`);
+ fs.writeFileSync(config.log, `${now}${request.method} ${request.url} ${JSON.stringify(data)}\n`, { flag: "as" });
56
}
57
58
if (config.noCache) {
0 commit comments