New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dwlogs

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dwlogs

Retrieve log files from Demandware server

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

dwlogs

Retrieve log files from Demandware sandbox

Installation

:; npm install dwlogs

Usage

:; dwlogs --type error --day 'June 16, 2015'

To have the logs be more usable, you can pipe them into less, tail or any stdout processing tool you have

:; dwlogs | less
:; dwlogs | tail -n 100

If a type option is not present, it will list all the log files instead.

Options

  • hostname: sandbox URL (without the https://)
  • username and password: credentials to log into your sandbox (should have admin privileges)
  • type || t: type of logs to retrieve. This option is required in order to see the content of a log file.
  • day || d: day of log to retrieve from, default to today. This can be any string that notify a date object. See Date/dateString
  • list || l: List all log files. They are grouped by name, then sorted by date last modified.

Config file

Instead of passing command line options every single time, you can store your config options in a dw.json file instead. For example:

{
	"hostname": "example.demandware.net",
	"username": "user",
	"password": "password"
}

Command line options will always override the options delcared in the config file.

Note: the dw.json file should be .gitignored and not committed to source code.

FAQs

Package last updated on 20 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc