1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00
This commit is contained in:
silversword411 2022-05-18 09:59:34 -04:00
commit dc340a9a97
No known key found for this signature in database
GPG key ID: 6F4BD176F56B50CA
105 changed files with 4938 additions and 2753 deletions

View file

@ -82,20 +82,7 @@ You'll then have 3 files:
-rw-rw-r-- 1 tactical tactical 381 Feb 2 12:02 mesherrors.txt
```
And to make it truly log everything, change the following in meshcentral.js around line 3530.
Old:
```
obj.fs.writeSync(obj.xxLogFile, new Date().toLocaleTimeString() + ' - ' + source + ': ' + Array.prototype.slice.call(...args).join('') + '\r\n');
```
New:
```
obj.fs.writeSync(obj.xxLogFile, new Date().toLocaleTimeString() + ' - ' + source + ': ' + args.join(' ') + '\r\n');
```
`log.txt` will now log everything in the Trace tab, but not formatted as nice.
`log.txt` will now log everything in the Trace tab
## Restricting server to specific IP(s)