0.0.4 • Published 4 years ago
stream-sfra-logs v0.0.4
Steam SFRA Logs
This package uses webdav to read recent sandbox log files and output them into your terminal to approximate live sever logging. Using the credentials of your dw.json.
Usage
- Install package in sfra or cartridge root
npm install stream-sfra-logs - Add Script to your
package.jsonfile:{ ... "scripts" : { ... "logs": "stream-sfra-logs" } } - Run script
npm run logsto see near real time logging in terminal.
Features
- Log Prefixes: defaults to
warn,errorbut you can set any log prefixes with the--log-prefixesvariable in the script like so:{ ... "scripts" : { ... "logs": "stream-sfra-logs --log-prefixes warn error custom" } }