
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
totoro-log-analyse
Advanced tools
Totoro log analyse.
Latest stable version:v2.0.0
$ npm install totoro-log-analyse -g
If it not works, you may need add sudo
before the command, as follows.
To get the latest function (may not be stable)
$ git clone git@github.com:totorojs/totoro-log-analyse.git
$ cd totoro-log-analyse
$ npm install -g
tla
use mongodb to store log message, thus, install it first.
Start mongod.
$ mongod
Connect to mongod and create a database named totoro
.
$ mongo
> use totoro
Add a user which has readWrite privileges to it.
> db.addUser({
user: '{{userName}}',
pwd: '{{password}}',
roles: [ 'readWrite' ]
})
// If db.addUser() dose't work, you may use db.createUser()
Restart mongod with auth option .
$ mongod --auth
Specifies log directory.
Default: 'totoro-server-logs/'
Start date of log file to process.
Let's assume today is 2014-02-14, and there are some log files as bellow:
totoro-server-logs/
20140201.log
20140202.log
...
20140213.log
20140214.log
If specifies --start=20140201
, tla
will process log files created since 2014-02-01.
If not specifies this option, will only process log files created today and later.
NOTE: tla
will handle repeated log message and watch increased log message automatically.
Default: today
Db server.
Default: 'localhost:27017/totoro'
Db user name that is given readWrite privileges.
Db password.
HTTP server host.
tla
supplies some HTTP api to query log info. After run tla
, open {{host}}:{{port}}
in browser, you will see all APIs.
Default: IP of your computer.
HTTP server port.
Default: 9997
Show debug log.
Output the version number.
Output usage information.
FAQs
Totoro log analyse.
We found that totoro-log-analyse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.